Commit
Β·
90fcd5a
1
Parent(s):
e38aeb3
update
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
@@ -1,14 +1,11 @@
|
|
1 |
# Use your prebuilt Docker image
|
2 |
-
FROM yixian02/control-geoldm:
|
3 |
-
|
4 |
-
# Set the working directory
|
5 |
-
# WORKDIR /geoldm-edit
|
6 |
|
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
|
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"]
|
|
|
1 |
# Use your prebuilt Docker image
|
2 |
+
FROM yixian02/control-geoldm:cu113
|
|
|
|
|
|
|
3 |
|
4 |
# Expose the port the app will run on
|
5 |
EXPOSE 7860
|
6 |
|
7 |
# Create the 'tmp' directory and give it proper permissions
|
8 |
+
RUN chmod -R 777 .
|
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"]
|