mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-09-17 21:19:41 +08:00
Update Dockerfile
This commit is contained in:
parent
2efab8b07a
commit
babab64113
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
RUN chmod +x /app/.docker/start.sh
|
||||
|
||||
# Copy the virtual environment from the builder stage
|
||||
COPY --from=builder /app /app
|
||||
|
||||
|
@ -37,6 +35,7 @@ ENV PATH="/app/.venv/bin:$PATH"
|
|||
|
||||
# Copy project files
|
||||
COPY . /app/
|
||||
RUN chmod +x /app/.docker/start.sh
|
||||
|
||||
# Expose Django's default port
|
||||
EXPOSE 8000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue