9 lines
280 B
Docker
Executable File
9 lines
280 B
Docker
Executable File
FROM python:3.12-slim
|
|
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 TZ=America/Toronto
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY importer.py .
|
|
EXPOSE 8001
|
|
CMD ["uvicorn", "importer:app", "--host", "0.0.0.0", "--port", "8001"]
|