Files
tehran_tala/apps/api/Dockerfile
T

16 lines
305 B
Docker

FROM docker.arvancloud.ir/node:20-alpine
# Pre-built on the developer machine:
# pnpm build:release
WORKDIR /app
ENV NODE_ENV=production
# Vendored Prisma lives in ./vendor (not node_modules — that path is gitignored)
ENV NODE_PATH=/app/vendor
COPY release/ ./
EXPOSE 3000
CMD ["node", "app.js"]