Spaces:
Sleeping
Sleeping
Config Dockerfile, realizando el build para tailwind
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -24,6 +24,9 @@ RUN pip install --upgrade pip && \
|
|
| 24 |
|
| 25 |
COPY . .
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
EXPOSE 7860
|
| 28 |
|
| 29 |
CMD ["python3", "manage.py", "runserver", "0.0.0.0:7860"]
|
|
|
|
| 24 |
|
| 25 |
COPY . .
|
| 26 |
|
| 27 |
+
RUN python3 manage.py tailwind build
|
| 28 |
+
RUN python manage.py collectstatic --noinput
|
| 29 |
+
|
| 30 |
EXPOSE 7860
|
| 31 |
|
| 32 |
CMD ["python3", "manage.py", "runserver", "0.0.0.0:7860"]
|