Skip to content

Commit 7ff2097

Browse files
committed
add app dockerfile
1 parent 6bc173d commit 7ff2097

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

deploy/src/Dockerfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM python:3.10-slim-buster
2+
3+
WORKDIR /dynamic-routing
4+
5+
COPY deploy/src/requirements.txt requirements.txt
6+
7+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
8+
9+
COPY src src
10+
11+
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000"]

0 commit comments

Comments
 (0)