taobin_log
This commit is contained in:
commit
d1b72930b6
4 changed files with 198 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
FROM python:3.9-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV TZ=Asia/Bangkok
|
||||
|
||||
RUN pip install fastapi uvicorn
|
||||
|
||||
COPY ./app ./app
|
||||
|
||||
RUN mkdir -p /app/data
|
||||
|
||||
EXPOSE 8123
|
||||
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8123"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue