collectstatic
This commit is contained in:
parent
973f1be58b
commit
2655518a86
@ -8,7 +8,7 @@ services:
|
||||
# command: sh -c "gunicorn freekake_api.wsgi:application --bind 0.0.0.0:8000"
|
||||
volumes:
|
||||
- .:/app
|
||||
- static_volume:/app/static
|
||||
- static_volume:/app/staticfiles
|
||||
expose:
|
||||
- "8000"
|
||||
networks:
|
||||
|
||||
@ -138,6 +138,7 @@ USE_TZ = True
|
||||
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
||||
|
||||
STATIC_URL = 'static/'
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field
|
||||
|
||||
Loading…
Reference in New Issue
Block a user