Copy full app to runtime container

This commit is contained in:
Brendon Heinst 2026-02-24 15:33:58 +01:00
parent 2dc37efc98
commit 4ec3d91b5d

View file

@ -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"]