Fix Dockerfile.local except volumes

This commit is contained in:
Guntis Smaukstelis
2025-03-01 18:16:56 +02:00
parent 4bd3733781
commit f0c5d2c42b
5 changed files with 21 additions and 10 deletions
+3 -5
View File
@@ -7,11 +7,9 @@ RUN sbt clean assembly
FROM amazoncorretto:17-alpine
WORKDIR /app
COPY --from=build /app/web/dist/ /web/dist/
COPY --from=build /app/target/scala-2.13/app.jar /app.jar
COPY --from=build /app/web/dist/ web/dist/
COPY --from=build /app/target/scala-2.13/WeatherTool-assembly-0.1.1-SNAPSHOT.jar app.jar
VOLUME /app/data
VOLUME /data
CMD ["java", "-jar", "app.jar"]