geospacialdata / Dockerfile
agentsay's picture
Update Dockerfile
31b00d1 verified
raw
history blame contribute delete
274 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py .
COPY synthetic_ps_points.geojson .
COPY synthetic_ps_points.csv .
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]