Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -16,12 +16,12 @@ ENV HOME=/home/user \
|
|
16 |
# Set the working directory to the user's home directory comme ça il aura les droits d'ecriture
|
17 |
WORKDIR $HOME/app
|
18 |
|
|
|
|
|
19 |
|
|
|
20 |
|
21 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
22 |
|
23 |
-
COPY --chown=user . $HOME/app
|
24 |
-
COPY ./requirements.txt $HOME/app/code/requirements.txt
|
25 |
#COPY . .
|
26 |
ENV TRANSFORMERS_CACHE=/home/user/cache
|
27 |
|
|
|
16 |
# Set the working directory to the user's home directory comme ça il aura les droits d'ecriture
|
17 |
WORKDIR $HOME/app
|
18 |
|
19 |
+
COPY --chown=user . $HOME/app
|
20 |
+
COPY ./requirements.txt $HOME/app/code/requirements.txt
|
21 |
|
22 |
+
RUN pip install --no-cache-dir --upgrade -r $HOME/app/code/requirements.txt
|
23 |
|
|
|
24 |
|
|
|
|
|
25 |
#COPY . .
|
26 |
ENV TRANSFORMERS_CACHE=/home/user/cache
|
27 |
|