VishalMysore commited on
Commit
4e339c1
·
verified ·
1 Parent(s): 3497f7a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -21
Dockerfile CHANGED
@@ -1,22 +1,22 @@
1
- FROM openjdk:18
2
-
3
- # Set working directory
4
- WORKDIR /ai
5
-
6
- # Define the version as a build argument
7
- ARG VERSION=0.2.3
8
-
9
- # Download the JAR file using curl with the version variable
10
- RUN curl -L -o /ai/mcpdemo.jar https://github.com/vishalmysore/ragevalinjava/releases/download/hugginface/a2aClient-${VERSION}.jar
11
-
12
- # Expose the port
13
- EXPOSE 7860
14
-
15
- # Copy the entrypoint script to the container
16
- COPY entrypoint.sh /entrypoint.sh
17
-
18
- # Make the script executable
19
- RUN chmod +x /entrypoint.sh
20
-
21
- # Set the entrypoint
22
  ENTRYPOINT ["/entrypoint.sh"]
 
1
+ FROM openjdk:18
2
+
3
+ # Set working directory
4
+ WORKDIR /ai
5
+
6
+ # Define the version as a build argument
7
+ ARG VERSION=0.2.3
8
+
9
+ # Download the JAR file using curl with the version variable
10
+ RUN curl -L -o /ai/mcpdemo.jar https://github.com/vishalmysore/ragevalinjava/releases/download/hugginface/ragevalinjava-${VERSION}.jar
11
+
12
+ # Expose the port
13
+ EXPOSE 7860
14
+
15
+ # Copy the entrypoint script to the container
16
+ COPY entrypoint.sh /entrypoint.sh
17
+
18
+ # Make the script executable
19
+ RUN chmod +x /entrypoint.sh
20
+
21
+ # Set the entrypoint
22
  ENTRYPOINT ["/entrypoint.sh"]