0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: update Dockerfile to support custom command (#3871)

Signed-off-by: Singee <git@singee.me>
This commit is contained in:
Bryan 2023-05-25 11:26:53 +08:00 committed by GitHub
parent ab38cbffeb
commit afd2257e55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,4 +38,5 @@ FROM node:18-alpine as app
WORKDIR /etc/logto
COPY --from=builder /etc/logto .
EXPOSE 3001
ENTRYPOINT ["npm", "start"]
ENTRYPOINT ["npm", "run"]
CMD ["start"]