Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -25,11 +25,11 @@ WORKDIR $HOME/app
|
|
25 |
|
26 |
# Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
|
27 |
RUN pip install --no-cache-dir --upgrade pip
|
28 |
-
RUN pip install -r requirements.txt
|
29 |
|
30 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
31 |
COPY --chown=user . $HOME/app
|
32 |
|
|
|
33 |
RUN python cbir_system.py
|
34 |
|
35 |
CMD ["python"]
|
|
|
25 |
|
26 |
# Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
|
27 |
RUN pip install --no-cache-dir --upgrade pip
|
|
|
28 |
|
29 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
30 |
COPY --chown=user . $HOME/app
|
31 |
|
32 |
+
RUN pip install -r requirements.txt
|
33 |
RUN python cbir_system.py
|
34 |
|
35 |
CMD ["python"]
|