Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -2,7 +2,8 @@ FROM python:3.9
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
-
COPY
|
|
|
|
| 6 |
RUN apt-get update && apt-get upgrade -y && apt-get install gcc -y
|
| 7 |
RUN pip install --no-cache-dir -r /code/requirements.txt
|
| 8 |
RUN pip install numpy
|
|
@@ -10,8 +11,8 @@ RUN pip install cython==0.29.21
|
|
| 10 |
|
| 11 |
RUN apt-get update
|
| 12 |
RUN apt-get install --reinstall build-essential -y
|
| 13 |
-
RUN apt-get install libgl1
|
| 14 |
RUN pip install pygco==0.0.16
|
|
|
|
| 15 |
|
| 16 |
RUN useradd -m -u 1000 user
|
| 17 |
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
+
COPY
|
| 6 |
+
./requirements.txt /code/requirements.txt
|
| 7 |
RUN apt-get update && apt-get upgrade -y && apt-get install gcc -y
|
| 8 |
RUN pip install --no-cache-dir -r /code/requirements.txt
|
| 9 |
RUN pip install numpy
|
|
|
|
| 11 |
|
| 12 |
RUN apt-get update
|
| 13 |
RUN apt-get install --reinstall build-essential -y
|
|
|
|
| 14 |
RUN pip install pygco==0.0.16
|
| 15 |
+
RUN apt-get install libgl1-mesa-glx
|
| 16 |
|
| 17 |
RUN useradd -m -u 1000 user
|
| 18 |
|