Spaces:
Build error
Build error
Felix commited on
Commit ·
33abd12
1
Parent(s): 9fe3a1e
testy
Browse files- Dockerfile +3 -0
- entrypoint.sh +1 -3
Dockerfile
CHANGED
|
@@ -4,7 +4,10 @@ COPY pom.xml .
|
|
| 4 |
ENTRYPOINT ["mvn -X"]
|
| 5 |
COPY entrypoint.sh /entrypoint.sh
|
| 6 |
EXPOSE 8350
|
|
|
|
|
|
|
| 7 |
# Make the script executable
|
| 8 |
RUN chmod +x /entrypoint.sh
|
|
|
|
| 9 |
# Set the entrypoint
|
| 10 |
ENTRYPOINT ["/entrypoint.sh"]d
|
|
|
|
| 4 |
ENTRYPOINT ["mvn -X"]
|
| 5 |
COPY entrypoint.sh /entrypoint.sh
|
| 6 |
EXPOSE 8350
|
| 7 |
+
RUN mvn install package
|
| 8 |
+
RUN cd /target
|
| 9 |
# Make the script executable
|
| 10 |
RUN chmod +x /entrypoint.sh
|
| 11 |
+
|
| 12 |
# Set the entrypoint
|
| 13 |
ENTRYPOINT ["/entrypoint.sh"]d
|
entrypoint.sh
CHANGED
|
@@ -1,4 +1,2 @@
|
|
| 1 |
-
|
| 2 |
-
exec mvn package
|
| 3 |
-
exec cd target/
|
| 4 |
exec java -jar /target/fixedmanager-vue-2.4.0.jar
|
|
|
|
| 1 |
+
|
|
|
|
|
|
|
| 2 |
exec java -jar /target/fixedmanager-vue-2.4.0.jar
|