Skip to content

Commit

Permalink
chore: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitFicus committed Jul 15, 2024
1 parent 39d913d commit ea21cd5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM eclipse-temurin:21
RUN mkdir /app
RUN groupadd -g 10001 javauser && useradd -u 10000 -g javauser javauser
ENV IZANAMI_CONTAINERIZED=true
COPY ./target/scala-2.13/izanami.jar /app/izanami.jar
WORKDIR /app
RUN chown -R javauser:javauser /app
USER javauser
CMD "java" "-jar" "izanami.jar"

0 comments on commit ea21cd5

Please sign in to comment.