Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
-
RUN apt-get update && apt-get upgrade -y &&
|
|
|
4 |
|
5 |
WORKDIR /code
|
6 |
COPY ./requirements.txt /code/requirements.txt
|
@@ -20,4 +21,4 @@ WORKDIR $HOME/app
|
|
20 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
21 |
COPY --chown=user . $HOME/app
|
22 |
|
23 |
-
CMD ["python", "app.py"]
|
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
+
RUN apt-get update && apt-get upgrade -y && \
|
4 |
+
apt-get install -y libgl1-mesa-dev libssl1.1
|
5 |
|
6 |
WORKDIR /code
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
21 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
22 |
COPY --chown=user . $HOME/app
|
23 |
|
24 |
+
CMD ["python", "app.py"]
|