Copy full app to runtime container
This commit is contained in:
parent
2dc37efc98
commit
4ec3d91b5d
1 changed files with 1 additions and 5 deletions
|
|
@ -7,10 +7,6 @@ RUN npm run build
|
|||
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/.medusa ./.medusa
|
||||
COPY --from=builder /app/node_modules ./node_modules
|
||||
COPY --from=builder /app/package.json ./
|
||||
COPY --from=builder /app/medusa-config.ts ./
|
||||
COPY --from=builder /app/tsconfig.json ./
|
||||
COPY --from=builder /app .
|
||||
EXPOSE 9000
|
||||
CMD ["npx", "medusa", "start"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue