first commit
This commit is contained in:
parent
8e58e24d2e
commit
973c47ff25
16 changed files with 866 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM python:3.10-slim-buster
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
pip install -r requirements.txt --no-cache-dir
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8003" ]
|
Loading…
Add table
Add a link
Reference in a new issue