rakesh1248 commited on
Commit
8529e20
·
verified ·
1 Parent(s): 4ab35d4

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- # Use an official Python runtime as a parent image
2
  FROM python:3.9
3
 
4
  # Set the working directory inside the container to /app
@@ -11,9 +11,9 @@ COPY . .
11
  RUN pip3 install -r requirements.txt
12
 
13
  RUN useradd -m -u 1000 user
 
14
  USER user
15
- ENV HOME=/home/user \
16
- PATH=/home/user/.local/bin:$PATH
17
 
18
  WORKDIR $HOME/app
19
 
 
1
+
2
  FROM python:3.9
3
 
4
  # Set the working directory inside the container to /app
 
11
  RUN pip3 install -r requirements.txt
12
 
13
  RUN useradd -m -u 1000 user
14
+ ENV HF_TOKEN {hf_token}
15
  USER user
16
+ ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH
 
17
 
18
  WORKDIR $HOME/app
19