mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
Fixed machine-learning container cannot start prod
This commit is contained in:
parent
1e29ff322d
commit
3dc538f9e6
2 changed files with 7 additions and 6 deletions
|
|
@ -38,4 +38,4 @@ COPY --from=builder /usr/src/app/dist ./dist
|
||||||
|
|
||||||
RUN npm prune --production
|
RUN npm prune --production
|
||||||
|
|
||||||
CMD [ "node", "dist/main" ]
|
# CMD [ "node", "dist/main" ]
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
# npm run typeorm migration:run
|
# npm run typeorm migration:run
|
||||||
npm run build && npm run start:prod
|
# npm run start:prod
|
||||||
|
node /dist/main.js
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue