diff --git a/Dockerfile b/Dockerfile index ffe404b..ee9f19a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ FROM node:20-alpine -ENV NODE_ENV=production WORKDIR /app RUN apk add --no-cache python3 build-base ADD package.json pnpm-lock.yaml /app/ @@ -9,4 +8,5 @@ COPY . /app/ # Always exit 0 here because TSC will fail while we're migrating to TypeScript but # not everything uses TypeScript RUN pnpm run build; exit 0 +ENV NODE_ENV=production CMD ["node", "dist/start.js"]