Create Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use a base image with Java installed
|
2 |
+
FROM openjdk:11-jre-slim
|
3 |
+
|
4 |
+
# Set environment variables for INCEpTION
|
5 |
+
ENV INCEPTION_VERSION=21.1
|
6 |
+
|
7 |
+
# Download and set up INCEpTION
|
8 |
+
RUN wget https://github.com/inception-project/inception/releases/download/$INCEPTION_VERSION/inception-app-standalone-$INCEPTION_VERSION.jar -O inception.jar
|
9 |
+
|
10 |
+
# Expose INCEpTION's default port
|
11 |
+
EXPOSE 8080
|
12 |
+
|
13 |
+
# Run INCEpTION
|
14 |
+
CMD ["java", "-jar", "inception.jar"]
|