You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
306 B
17 lines
306 B
FROM python:3.12-slim |
|
|
|
WORKDIR /app |
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \ |
|
PYTHONUNBUFFERED=1 |
|
|
|
COPY requirements.txt . |
|
RUN pip install --no-cache-dir -r requirements.txt |
|
|
|
COPY app ./app |
|
|
|
RUN mkdir -p /app/data /app/storage |
|
|
|
EXPOSE 8000 |
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|