QF and added dockerfile
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user