kopia lustrzana https://github.com/wagtail/bakerydemo
rodzic
31eb9d610d
commit
d88b0b5276
|
@ -52,7 +52,7 @@ ENV DJANGO_SETTINGS_MODULE=bakerydemo.settings.production DJANGO_DEBUG=off
|
|||
RUN DATABASE_URL=postgres://none REDIS_URL=none python manage.py collectstatic --noinput
|
||||
|
||||
# make sure static files are writable by uWSGI process
|
||||
RUN mkdir -p /code/bakerydemo/media/images && chown -R 1000:2000 /code/bakerydemo/media
|
||||
RUN mkdir -p /code/bakerydemo/media/images && mkdir -p /code/bakerydemo/media/original_images && chown -R 1000:2000 /code/bakerydemo/media
|
||||
|
||||
# mark the destination for images as a volume
|
||||
VOLUME ["/code/bakerydemo/media/images/"]
|
||||
|
|
Ładowanie…
Reference in New Issue