Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aengzu authored Dec 17, 2024
1 parent e7d2bd8 commit b80eac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
COPY ./petkinApp /app/petkinApp
COPY ./model.pt /app/model.pt
COPY ./static /app/static
COPY .env /app/.env
# COPY .env /app/.env


# 포트 노출
Expand All @@ -32,4 +32,4 @@ EXPOSE 8080
CMD ["gunicorn", "petkinApp.main:app", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8080", "-w", "1"]

HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD curl -f http://localhost:8080/health || exit 1
CMD curl -f http://localhost:8080/health || exit 1

0 comments on commit b80eac7

Please sign in to comment.