WIP: Docker updates #13
1 changed files with 6 additions and 2 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue