1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-25 07:49:37 +02:00

static hosting

This commit is contained in:
Sean Morley 2024-07-09 09:58:52 -04:00
parent 7b9023dd07
commit e33654a6b6
5 changed files with 23 additions and 4 deletions

View file

@ -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