Files
aios/Dockerfile
Kai Mei aba55da17b refactor: clean up for installation (#376)
* update

* update README.md

* update
2024-12-13 09:16:57 -05:00

14 lines
323 B
Docker

FROM python:3.11.8-slim-bullseye
ENV PYTHONUNBUFFERED True
ENV APP_HOME /app
WORKDIR $APP_HOME
COPY . ./
ENV PORT 8000
RUN pip install --no-cache-dir -r requirements.txt
# As an example here we're running the web service with one worker on uvicorn.
CMD exec uvicorn server:app --host 0.0.0.0 --port ${PORT} --workers 1