Spaces:
Sleeping
Sleeping
Config Dockerfile, omitir migracion y regreso de imagen a ubuntu
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
RUN apt-get update && apt-get install -y \
|
| 6 |
build-essential \
|
|
@@ -23,8 +23,6 @@ RUN ls -lah
|
|
| 23 |
RUN python3 -m pip install --upgrade pip
|
| 24 |
RUN python3 -m pip install -r requirements.txt
|
| 25 |
|
| 26 |
-
COPY . .
|
| 27 |
-
|
| 28 |
# RUN python3 manage.py migrate
|
| 29 |
# RUN python3 manage.py tailwind build
|
| 30 |
# RUN python3 manage.py collectstatic --noinput
|
|
|
|
| 1 |
+
FROM ubuntu:24.04
|
| 2 |
|
| 3 |
+
RUN export DEBIAN_FRONTEND=noninteractive
|
| 4 |
|
| 5 |
RUN apt-get update && apt-get install -y \
|
| 6 |
build-essential \
|
|
|
|
| 23 |
RUN python3 -m pip install --upgrade pip
|
| 24 |
RUN python3 -m pip install -r requirements.txt
|
| 25 |
|
|
|
|
|
|
|
| 26 |
# RUN python3 manage.py migrate
|
| 27 |
# RUN python3 manage.py tailwind build
|
| 28 |
# RUN python3 manage.py collectstatic --noinput
|