Copy medusa-config and tsconfig into runtime container
This commit is contained in:
parent
1a093cb236
commit
2dc37efc98
1 changed files with 2 additions and 0 deletions
|
|
@ -10,5 +10,7 @@ WORKDIR /app
|
||||||
COPY --from=builder /app/.medusa ./.medusa
|
COPY --from=builder /app/.medusa ./.medusa
|
||||||
COPY --from=builder /app/node_modules ./node_modules
|
COPY --from=builder /app/node_modules ./node_modules
|
||||||
COPY --from=builder /app/package.json ./
|
COPY --from=builder /app/package.json ./
|
||||||
|
COPY --from=builder /app/medusa-config.ts ./
|
||||||
|
COPY --from=builder /app/tsconfig.json ./
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
CMD ["npx", "medusa", "start"]
|
CMD ["npx", "medusa", "start"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue