16 lines
293 B
Docker
16 lines
293 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY app/ app/
|
|
COPY ui/ ui/
|
|
|
|
ENV TREKKER_DATA_DIR=/app/data
|
|
VOLUME ["/app/data", "/app/import"]
|
|
|
|
EXPOSE 8000
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|