| # Use your prebuilt Docker image | |
| # FROM yixian02/control-geoldm:cu113 | |
| FROM yixian02/control-geoldm:cu118 | |
| # Expose the port the app will run on | |
| EXPOSE 7860 | |
| # Create the 'tmp' directory and give it proper permissions | |
| RUN chmod -R 777 . | |
| # Command to run your application | |
| CMD ["/bin/bash", "-c", "source /opt/conda/etc/profile.d/conda.sh && conda activate geoldm && python -m deployment.main -u -a 0.0.0.0 -p 7860"] | |