Skip to content

Commit

Permalink
fix: DockerFiler -> Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitFicus committed Jul 15, 2024
1 parent 40f97c1 commit b58393c
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 b58393c

Please sign in to comment.