Spaces:
Sleeping
Sleeping
VishalMysore
commited on
Commit
•
806b959
1
Parent(s):
24c105f
Create Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM openjdk:17
|
2 |
+
WORKDIR ai
|
3 |
+
ADD swagger_actions.json /ai/conf/swagger_actions.json
|
4 |
+
ADD springactions-0.2.3.jar /ai/springactions-0.2.3.jar
|
5 |
+
EXPOSE 7860
|
6 |
+
COPY entrypoint.sh /entrypoint.sh
|
7 |
+
# Make the script executable
|
8 |
+
RUN chmod +x /entrypoint.sh
|
9 |
+
# Set the entrypoint
|
10 |
+
ENTRYPOINT ["/entrypoint.sh"]
|