nsarrazin HF staff commited on
Commit
e45341a
1 Parent(s): 37f284c

add args to every stage

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -5,6 +5,10 @@ ARG APP_NAME
5
 
6
 
7
  FROM node:19 as chatui-builder
 
 
 
 
8
 
9
  WORKDIR /app
10
 
@@ -42,6 +46,11 @@ RUN npm run build
42
 
43
  FROM ghcr.io/huggingface/text-generation-inference:latest
44
 
 
 
 
 
 
45
  ENV TZ=Europe/Paris \
46
  PORT=3000
47
 
 
5
 
6
 
7
  FROM node:19 as chatui-builder
8
+ ARG MODEL_NAME
9
+ ARG MODEL_PARAMS
10
+ ARG APP_COLOR
11
+ ARG APP_NAME
12
 
13
  WORKDIR /app
14
 
 
46
 
47
  FROM ghcr.io/huggingface/text-generation-inference:latest
48
 
49
+ ARG MODEL_NAME
50
+ ARG MODEL_PARAMS
51
+ ARG APP_COLOR
52
+ ARG APP_NAME
53
+
54
  ENV TZ=Europe/Paris \
55
  PORT=3000
56