fix PATH
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -13,15 +13,15 @@ USER user
|
|
13 |
|
14 |
|
15 |
ENV HOME=/home/user \
|
16 |
-
PATH=/home/user/.local/bin
|
17 |
|
18 |
# Set the working directory to the user's home directory
|
19 |
-
WORKDIR HOME/app
|
20 |
|
21 |
COPY --chown=user requirements.txt .
|
22 |
COPY --chown=user models models
|
23 |
|
24 |
-
RUN
|
25 |
|
26 |
COPY --chown=user engine.py .
|
27 |
COPY --chown=user festival.py .
|
|
|
13 |
|
14 |
|
15 |
ENV HOME=/home/user \
|
16 |
+
PATH=/home/user/.local/bin:$PATH
|
17 |
|
18 |
# Set the working directory to the user's home directory
|
19 |
+
WORKDIR $HOME/app
|
20 |
|
21 |
COPY --chown=user requirements.txt .
|
22 |
COPY --chown=user models models
|
23 |
|
24 |
+
RUN pip install -r requirements.txt
|
25 |
|
26 |
COPY --chown=user engine.py .
|
27 |
COPY --chown=user festival.py .
|