This commit is contained in:
Kamil Klecha
2021-10-20 11:00:22 +02:00
parent bb8cd1e295
commit 43c77180d7
2 changed files with 2 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ WORKDIR /app
COPY . .
RUN npm install && npm run build
FROM nginx:latest-alpine
FROM nginx:alpine
WORKDIR /usr/share/nginx/html
COPY --from=0 /app/dist .
ENTRYPOINT [ "start-nginx.sh" ]
ENTRYPOINT ["nginx", "-g", "daemon off;"]