Spaces:
Running
Running
Commit
·
304cd0d
1
Parent(s):
c084fb6
indent
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -38,7 +38,8 @@ ENV VITE_ENV=production
|
|
38 |
|
39 |
RUN --mount=type=secret,id=HUGGINGFACE_CLIENT_SECRET,mode=0444,required=true \
|
40 |
echo "HUGGINGFACE_CLIENT_SECRET=$(cat /run/secrets/HUGGINGFACE_CLIENT_SECRET)" >> .env
|
41 |
-
|
|
|
42 |
|
43 |
RUN yarn install
|
44 |
RUN yarn build
|
|
|
38 |
|
39 |
RUN --mount=type=secret,id=HUGGINGFACE_CLIENT_SECRET,mode=0444,required=true \
|
40 |
echo "HUGGINGFACE_CLIENT_SECRET=$(cat /run/secrets/HUGGINGFACE_CLIENT_SECRET)" >> .env
|
41 |
+
|
42 |
+
RUN echo "VITE_ENV=production" >> .env
|
43 |
|
44 |
RUN yarn install
|
45 |
RUN yarn build
|