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