mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 18:53:58 +01:00
18 lines
274 B
Docker
18 lines
274 B
Docker
#
|
|
FROM python:3.10
|
|
|
|
#
|
|
WORKDIR /code
|
|
|
|
#
|
|
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
#
|
|
RUN pip install . pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
#
|
|
COPY ./app /code/app
|
|
|
|
#
|
|
CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "2333"]
|