nsarrazin HF staff commited on
Commit
bd3f737
1 Parent(s): aee1b53

fix template

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -14,9 +14,9 @@ RUN --mount=type=cache,target=/app/.npm \
14
  npm set cache /app/.npm && \
15
  npm ci
16
 
17
- RUN envsubst < ".env.template" > ".env.local"
18
 
19
- COPY .env.local .env.local
 
20
  RUN npm run build
21
 
22
  FROM ghcr.io/huggingface/text-generation-inference:latest
 
14
  npm set cache /app/.npm && \
15
  npm ci
16
 
 
17
 
18
+ COPY .env.template .env.template
19
+ RUN envsubst < ".env.template" > ".env.local"
20
  RUN npm run build
21
 
22
  FROM ghcr.io/huggingface/text-generation-inference:latest