mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-25 07:49:37 +02:00
static hosting
This commit is contained in:
parent
7b9023dd07
commit
e33654a6b6
5 changed files with 23 additions and 4 deletions
|
@ -24,6 +24,8 @@ RUN pip install -r requirements.txt
|
|||
# Copy the Django project code into the Docker image
|
||||
COPY ./server /code/
|
||||
|
||||
RUN python3 manage.py collectstatic --verbosity 2
|
||||
|
||||
# Set the entrypoint script
|
||||
COPY ./entrypoint.sh /code/entrypoint.sh
|
||||
RUN chmod +x /code/entrypoint.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue