add Dockerfile
This commit is contained in:
parent
bc43ebb214
commit
5c2c3bd5dd
10
server/Dockerfile
Normal file
10
server/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM python:alpine
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src .
|
||||
|
||||
EXPOSE 8000
|
||||
CMD ["uvicorn", "--host", "0.0.0.0", "main:app"]
|
Loading…
Reference in New Issue
Block a user