WIP: Docker updates #13

Draft
mravi wants to merge 19 commits from docker into master
Showing only changes of commit 10c3c2381c - Show all commits

View file

@ -35,6 +35,10 @@ RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8000
# Copy entrypoint.sh script and grant execute permissions
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Run migrations and start the server
ENTRYPOINT ["/entrypoint.sh"]
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]