Fly.io with one instance and one volume with auto_stop false

This commit is contained in:
Guntis Smaukstelis
2023-05-13 21:09:49 +03:00
parent 7cb6349ac7
commit ea19ae27f8
3 changed files with 11 additions and 3 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
FROM amazoncorretto:17-alpine
COPY ./data /data
COPY ./web /web
COPY ./target/scala-2.13/WeatherTool-assembly-0.1.1-SNAPSHOT.jar /app.jar
VOLUME /data
CMD ["java", "-jar", "/app.jar"]