File size: 415 Bytes
8dec18b
5980ed2
 
8dec18b
 
 
 
07729eb
90fcd5a
07729eb
8dec18b
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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"]