ki-frontend/Dockerfile
Michael Weimann 0b4220576f
All checks were successful
continuous-integration/drone/push Build is passing
add reuse compliance #5
2021-09-19 12:56:17 +02:00

16 lines
330 B
Docker

# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
FROM node:14-alpine as builder
COPY . ./
RUN npm ci && npm run build
FROM nginx as ki-frontend
COPY --from=builder /dist/ /usr/share/nginx/html/
COPY etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf