We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f88f959 commit eb932deCopy full SHA for eb932de
Dockerfile
@@ -16,11 +16,14 @@ COPY package*.json ./
16
17
18
RUN npm install --no-install-recommends --fetch-retry-maxtimeout 500000
19
-#RUN npm run prod-build
+
20
# install vite virst
21
22
23
COPY . .
24
+ ENV NODE_ENV='production'
25
+ # i am hoping the above will make it so that the frontend files will know that it is production.
26
+RUN npm run prod-build
27
28
# Stage 2: Runtime
29
FROM node:21.2.0-alpine AS runtime
@@ -52,7 +55,7 @@ ENV IS_DOCKER=true
52
55
53
56
54
57
ENV VIDEOSDK='vidsdk'
- ENV NODE_ENV='production'
58
59
# productino you dolt!, if we are using docker, its production!
60
ENV PORT=5656
61
0 commit comments