Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinejaussoin committed Nov 6, 2024
1 parent 1928600 commit dfde690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This must be run with the Docker context set to the root folder of the repository
# (the one with the yarn.lock file)

FROM --platform=$BUILDPLATFORM node:20-alpine as Node
FROM --platform=$BUILDPLATFORM node:20-alpine AS node

ENV NODE_ENV=production

Expand Down Expand Up @@ -30,7 +30,7 @@ RUN yarn build

FROM nginx:alpine

COPY --from=Node /home/node/app/build /usr/share/nginx/html
COPY --from=node /home/node/app/build /usr/share/nginx/html
COPY ./docker/nginx.conf /etc/nginx/conf.d/default.conf

CMD ["nginx", "-g", "daemon off;"]

0 comments on commit dfde690

Please sign in to comment.