(add): Some deployment files
This commit is contained in:
1 parent
1e6b7787b3
commit
25f97c5884
10 files changed
+41
-2
No files matched your search
@@ -0,0 +1,9 @@
|
||||
FROM python:3-slim
|
||||
WORKDIR /app
|
||||
COPY app/requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
COPY app/. .
|
||||
RUN mkdir -p /data
|
||||
ENV TAM_DATA_DIR=/data
|
||||
ENV NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||
CMD ["fastapi", "run", "--port=8000"]
|
||||
Reference in new issue
Block a user