Skip to content

Commit

Permalink
Merge pull request #52 from edenia/update-dockerfile-webapp
Browse files Browse the repository at this point in the history
fix(devops): Update dockerfile webapp
  • Loading branch information
fagomezra committed Jul 26, 2023
2 parents e2c3cee + b005b8c commit 8ad6038
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ RUN yarn build

FROM nginx:1.17.10-alpine as run-stage

COPY --from=build-stage /usr/src/app/build /usr/share/nginx/html
COPY --from=build-stage /usr/src/app/compression.conf /etc/nginx/conf.d/compression.conf
COPY --from=build-stage /usr/src/app/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build-stage /usr/src/app/.next /usr/share/nginx/html

EXPOSE 80

Expand Down

0 comments on commit 8ad6038

Please sign in to comment.