Spaces:
Running
Running
Commit
•
4318609
1
Parent(s):
af559c2
Upload Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM openjdk:17
|
2 |
+
WORKDIR ai
|
3 |
+
ADD InstaService-1.0-SNAPSHOT.jar /ai/InstaService-1.0-SNAPSHOT.jar
|
4 |
+
EXPOSE 7860
|
5 |
+
COPY entrypoint.sh /entrypoint.sh
|
6 |
+
# Make the script executable
|
7 |
+
RUN chmod +x /entrypoint.sh
|
8 |
+
# Set the entrypoint
|
9 |
+
ENTRYPOINT ["/entrypoint.sh"]
|