Skip to content

Commit

Permalink
Remove volume declaration from Dockerfile
Browse files Browse the repository at this point in the history
This commit removes the VOLUME statement for the `/app/data` directory from the Dockerfile. This change simplifies the container setup, eliminating the need for an explicit volume declaration, which may lead to fewer complications in certain deployment scenarios.
  • Loading branch information
NonSwag committed Sep 21, 2024
1 parent 415218b commit a08d360
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ WORKDIR /app

COPY --from=build /home/gradle/src/build/libs/arkitektonika.jar /app/arkitektonika.jar

VOLUME ["/app/data"]

CMD ["java", "-Xmx256M", "-jar", "/app/arkitektonika.jar"]

0 comments on commit a08d360

Please sign in to comment.