Spaces:
Runtime error
Runtime error
Commit ·
b21ebeb
1
Parent(s): 567bf65
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Use Python 3.11 slim image
|
| 2 |
-
FROM
|
| 3 |
|
| 4 |
# Run system updates and installations as root
|
| 5 |
RUN apt-get update && apt-get install -y \
|
|
@@ -7,6 +7,9 @@ RUN apt-get update && apt-get install -y \
|
|
| 7 |
build-essential \
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# Create app directory with correct permissions
|
| 11 |
RUN mkdir /app && chown -R 1000:1000 /app
|
| 12 |
|
|
|
|
| 1 |
# Use Python 3.11 slim image
|
| 2 |
+
FROM python:3.11-slim
|
| 3 |
|
| 4 |
# Run system updates and installations as root
|
| 5 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 7 |
build-essential \
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
+
# Install Poetry
|
| 11 |
+
RUN pip install poetry
|
| 12 |
+
|
| 13 |
# Create app directory with correct permissions
|
| 14 |
RUN mkdir /app && chown -R 1000:1000 /app
|
| 15 |
|