Fix paths in docker images
This commit is contained in:
+5
-3
@@ -1,8 +1,10 @@
|
||||
FROM amazoncorretto:17-alpine
|
||||
|
||||
COPY ./web/dist/ /web/dist/
|
||||
COPY ./target/scala-2.13/WeatherTool-assembly-0.1.1-SNAPSHOT.jar /app.jar
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./web/dist/ web/dist/
|
||||
COPY ./target/scala-2.13/WeatherTool-assembly-0.1.1-SNAPSHOT.jar app.jar
|
||||
|
||||
VOLUME /app/data
|
||||
|
||||
CMD ["java", "-jar", "/app.jar"]
|
||||
CMD ["java", "-jar", "app.jar"]
|
||||
Reference in New Issue
Block a user