Skip to content
Snippets Groups Projects
Commit 25f004cb authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: build

parent e9b2ec09
2 merge requests!11Recette,!9Dev
......@@ -23,13 +23,15 @@ ARG conf
RUN npm run build:dev
# Stage 1, based on Nginx, to have only the compiled app
FROM nginx:1.16.0-alpine
FROM nginx
# copy artifact build from the 'build environment'
RUN apt-get update
COPY --from=build /app/dist/fr /usr/share/nginx/html
RUN touch /var/run/nginx.pid
RUN ls -l /usr/share/nginx/html
# expose port 8080
EXPOSE 8080
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment