killian31
commited on
Commit
·
1e48aff
1
Parent(s):
aca1d62
update dockerfile python
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use a base Python image
|
2 |
-
FROM python:3.11
|
3 |
|
4 |
# Install system-level dependencies
|
5 |
RUN apt-get update && apt-get install -y \
|
@@ -17,6 +17,7 @@ WORKDIR /app
|
|
17 |
COPY . /app
|
18 |
|
19 |
# Install Python dependencies using Poetry
|
|
|
20 |
RUN poetry config virtualenvs.create false && poetry install --no-root
|
21 |
|
22 |
# Command to run the Gradio app
|
|
|
1 |
# Use a base Python image
|
2 |
+
FROM python:3.11.9
|
3 |
|
4 |
# Install system-level dependencies
|
5 |
RUN apt-get update && apt-get install -y \
|
|
|
17 |
COPY . /app
|
18 |
|
19 |
# Install Python dependencies using Poetry
|
20 |
+
RUN pip install poetry
|
21 |
RUN poetry config virtualenvs.create false && poetry install --no-root
|
22 |
|
23 |
# Command to run the Gradio app
|