PIEthonista commited on
Commit
07729eb
Β·
1 Parent(s): 50c8e23
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -7,5 +7,8 @@ FROM yixian02/control-geoldm:cu113
7
  # Expose the port the app will run on
8
  EXPOSE 7860
9
 
 
 
 
10
  # Command to run your application
11
  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"]
 
7
  # Expose the port the app will run on
8
  EXPOSE 7860
9
 
10
+ # Create the 'tmp' directory and give it proper permissions
11
+ RUN mkdir -p /usr/src/geoldm-edit/deployment/tmp && chmod 777 /usr/src/geoldm-edit/deployment/tmp
12
+
13
  # Command to run your application
14
  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"]