참고소스 수정본
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# https://hub.docker.com/_/python
|
||||
FROM python:3.10-slim-bullseye
|
||||
|
||||
ENV PYTHONUNBUFFERED True
|
||||
ENV APP_HOME /app
|
||||
WORKDIR $APP_HOME
|
||||
COPY requirements.txt ./
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
|
||||
COPY . ./
|
||||
|
||||
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]
|
||||
Reference in New Issue
Block a user