Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
@@ -3,9 +3,12 @@ FROM python:3.11
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY ./requirements.txt /app/requirements.txt
|
6 |
-
|
7 |
-
RUN pip3 install --no-cache-dir
|
8 |
-
RUN pip3 install --no-cache-dir
|
|
|
|
|
|
|
9 |
|
10 |
# User
|
11 |
RUN useradd -m -u 1000 user
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY ./requirements.txt /app/requirements.txt
|
6 |
+
|
7 |
+
RUN pip3 install --no-cache-dir --upgrade pip
|
8 |
+
RUN pip3 install --no-cache-dir wheel setuptools build
|
9 |
+
|
10 |
+
RUN pip3 install --no-cache-dir --use-pep517 -r /app/requirements.txt
|
11 |
+
#RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
12 |
|
13 |
# User
|
14 |
RUN useradd -m -u 1000 user
|