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
|
FROM node:20-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/.medusa ./.medusa
|
COPY --from=builder /app .
|
||||||
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 ./
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
CMD ["npx", "medusa", "start"]
|
CMD ["npx", "medusa", "start"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue