Skip to content

Commit

Permalink
fix: revert ARG to ENV in Dockerfile (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Apr 9, 2024
1 parent cfd7d65 commit 1db711f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ COPY requirements.txt requirements.txt
RUN pipenv run pip install -r requirements.txt
COPY src/cogserver cogserver

ARG HOST=0.0.0.0
ARG PORT=8000
ARG LOG_LEVEL=info
ARG RELOAD=--reload
ENV HOST=0.0.0.0
ENV PORT=8000
ENV LOG_LEVEL=info
ENV RELOAD=--reload

CMD pipenv run uvicorn cogserver:app --host ${HOST} --port ${PORT} --log-level ${LOG_LEVEL} ${RELOAD}

0 comments on commit 1db711f

Please sign in to comment.