This commit is contained in:
j3d1 2023-06-17 10:56:48 +02:00
parent d28a2eacf1
commit 6ada06af52
60 changed files with 9523 additions and 1 deletions

14
frontend/Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM node:alpine as builder
WORKDIR /app
COPY ./package.json /app/package.json
COPY . /app
RUN npm install
RUN npm run build
FROM nginx:alpine as runner
RUN apk add --update npm
WORKDIR /app
COPY --from=builder /app/dist /usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/nginx.conf
EXPOSE 80