FROM python:3.11-slim-buster | |
RUN apt-get update | |
RUN apt-get install -y gdal-bin libgdal-dev | |
RUN pip install GDAL --no-binary GDAL | |
# Install other dependencies (if any) | |
RUN pip install cupy-cuda12x==12.2.0 | |
RUN pip install GDAL | |
# Copy your application code | |
COPY . /app | |
WORKDIR /app | |
# Run your application (replace with your actual command) | |
CMD ["python", "server.py"] |