fix: run dist/bin/server.js in the container
dist/index.js only exports the Express app since the refactor, so the container exited 0 without listening.
This commit is contained in:
parent
b0c3f695a8
commit
025c3a8714
1 changed files with 1 additions and 1 deletions
|
|
@ -18,4 +18,4 @@ RUN npm ci --omit=dev
|
||||||
COPY --from=build /app/dist ./dist
|
COPY --from=build /app/dist ./dist
|
||||||
USER node
|
USER node
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["node", "dist/index.js"]
|
CMD ["node", "dist/bin/server.js"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue