15 lines
227 B
Docker
15 lines
227 B
Docker
FROM python:latest
|
|
|
|
WORKDIR ./
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
RUN mkdir app
|
|
|
|
COPY . ./app
|
|
|
|
RUN ls
|
|
|
|
CMD ["uvicorn", "app.main:app","--reload", "--host", "0.0.0.0", "--port", "8000"]
|
|
|