Skip to content

Commit

Permalink
[unified-server] Update NODE_ENV on Dockerfile (#4119)
Browse files Browse the repository at this point in the history
This value has to be set to "production" to prevent ViteExpress from
trying to use the Vite dev server to serve client-side artifacts.

Part of #3913
  • Loading branch information
timswanson-google authored Jan 13, 2025
1 parent 3420dc6 commit 07ec13a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/unified-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ COPY . .
RUN npm install --save-dev @types/express
RUN npm run build

ENV NODE_ENV="production"
EXPOSE 3000

CMD ["node", "dist/src/server/main.js"]

0 comments on commit 07ec13a

Please sign in to comment.