QF and added dockerfile

This commit is contained in:
Kamil Klecha
2021-10-20 01:01:59 +02:00
parent 1050e3e12a
commit bb8cd1e295
3 changed files with 27 additions and 8 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:16
WORKDIR /app
COPY . .
RUN npm install && npm run build
FROM nginx:latest-alpine
WORKDIR /usr/share/nginx/html
COPY --from=0 /app/dist .
ENTRYPOINT [ "start-nginx.sh" ]