mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
14 lines
269 B
Docker
14 lines
269 B
Docker
# 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"] |