Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -2,18 +2,18 @@ FROM python:3.11-slim
|
|
2 |
|
3 |
RUN pip install poetry==1.6.1
|
4 |
|
5 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
6 |
-
|
7 |
RUN poetry config virtualenvs.create false
|
8 |
|
9 |
WORKDIR /code
|
10 |
|
11 |
-
COPY ./pyproject.toml ./README.md ./poetry.lock* ./
|
12 |
|
13 |
COPY ./packages ./packages
|
14 |
|
15 |
RUN poetry install --no-interaction --no-ansi --no-root
|
16 |
|
|
|
|
|
17 |
COPY ./app ./app
|
18 |
|
19 |
RUN poetry install --no-interaction --no-ansi
|
|
|
2 |
|
3 |
RUN pip install poetry==1.6.1
|
4 |
|
|
|
|
|
5 |
RUN poetry config virtualenvs.create false
|
6 |
|
7 |
WORKDIR /code
|
8 |
|
9 |
+
COPY ./requirements.txt ./pyproject.toml ./README.md ./poetry.lock* ./
|
10 |
|
11 |
COPY ./packages ./packages
|
12 |
|
13 |
RUN poetry install --no-interaction --no-ansi --no-root
|
14 |
|
15 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
16 |
+
|
17 |
COPY ./app ./app
|
18 |
|
19 |
RUN poetry install --no-interaction --no-ansi
|