Add VOLUMEs
This commit is contained in:
parent
afecf7bc9f
commit
28d76f534a
1 changed files with 3 additions and 0 deletions
|
|
@ -60,5 +60,8 @@ USER appuser
|
||||||
# The port the application will listen on
|
# The port the application will listen on
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
|
# Shared volume for static files, media files, and logs
|
||||||
|
VOLUME ["/app/staticfiles", "/app/media", "/app/data"]
|
||||||
|
|
||||||
# Run startup script
|
# Run startup script
|
||||||
CMD ["./docker-entrypoint.sh"]
|
CMD ["./docker-entrypoint.sh"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue