ki-frontend/Dockerfile
Michael Weimann ebb0783103
All checks were successful
continuous-integration/drone/push Build is passing
add reuse compliance #5
2021-09-19 13:04:03 +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