diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,10 +1,11 @@ FROM python:3.11 WORKDIR /code -ARG FLIT_ROOT_INSTALL=1 -RUN pip install flit -COPY . /code/ -RUN flit install +COPY ./requirements.txt /code/requirements.txt -CMD [ "uvicorn", "src.guzzle_api.api:app", "--host", "0.0.0.0", "--port", "7070"] +RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt + +COPY ./src/guzzle_api /code/guzzle_api + +CMD [ "uvicorn", "guzzle_api.api:app", "--host", "0.0.0.0", "--port", "80"] |
