Skip to content

Instantly share code, notes, and snippets.

View sbv-trueenergy's full-sized avatar

Søren Bjerregaard Vrist sbv-trueenergy

View GitHub Profile
@sbv-trueenergy
sbv-trueenergy / Dockerfile
Last active January 11, 2024 22:25
uvicorn reload and docker-compose
FROM python:3.7
COPY requirements.txt /app/
WORKDIR /app
RUN pip install -r requirements.txt
COPY . /app
CMD ["uvicorn", "--host", "0.0.0.0", "--reload", "--reload-dir", "/app", "app:app"]