Michael Weimann
0b4220576f
All checks were successful
continuous-integration/drone/push Build is passing
16 lines
330 B
Docker
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
|