Spaces:
Sleeping
Sleeping
Commit
·
ea535dd
1
Parent(s):
9fa9756
simplify base image and packages
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
|
@@ -1,14 +1,12 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
| 3 |
WORKDIR /home/app
|
| 4 |
|
| 5 |
# Updated to include build-essential and libpq-dev
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
-
nano \
|
| 8 |
-
unzip \
|
| 9 |
curl \
|
| 10 |
-
|
| 11 |
-
|
| 12 |
|
| 13 |
RUN curl -fsSL https://get.deta.dev/cli.sh | sh
|
| 14 |
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
|
| 3 |
WORKDIR /home/app
|
| 4 |
|
| 5 |
# Updated to include build-essential and libpq-dev
|
| 6 |
RUN apt-get update && apt-get install -y \
|
|
|
|
|
|
|
| 7 |
curl \
|
| 8 |
+
unzip \
|
| 9 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
RUN curl -fsSL https://get.deta.dev/cli.sh | sh
|
| 12 |
|