Skip to content

Commit

Permalink
Updates Render docker file (parcelvoy#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushchris authored Feb 6, 2024
1 parent 75b59c1 commit ee4dda3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.render
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN npm run build
FROM node:18 AS build
WORKDIR /usr/src/app
COPY --from=backend_compile /usr/src/app/apps/platform/package*.json ./
COPY --from=backend_compile /usr/src/app/apps/platform/build ./
COPY --from=backend_compile /usr/src/app/apps/platform/build ./build
COPY --from=backend_compile /usr/src/app/apps/platform/db ./db
COPY --from=backend_compile /usr/src/app/apps/platform/scripts ./scripts
COPY --from=backend_compile /usr/src/app/apps/platform/public ./public
Expand All @@ -33,5 +33,5 @@ USER node
WORKDIR /usr/src/app
COPY --chown=node:node --from=build /usr/src/app ./
EXPOSE 80
CMD ["dumb-init", "node", "index.js"]
CMD ["dumb-init", "node", "build/boot.js"]

0 comments on commit ee4dda3

Please sign in to comment.