Fix image display in Docker by loading initial fixtures on startup
This commit is contained in:
parent
8cda627753
commit
87fbcdc013
3 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y gettext && rm -rf /var/lib/apt/lists/*
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN python manage.py compilemessages
|
||||
RUN SECRET_KEY=dummy python manage.py compilemessages
|
||||
|
||||
# Create volume mount points
|
||||
RUN mkdir -p /app/media /app/static /app/data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue