Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaosMarc authored Aug 18, 2023
1 parent 6527262 commit 8baf133
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM eclipse-temurin:8
RUN addgroup app && adduser --system --group app app && mkdir /app && chown app:app /app
RUN adduser --system --group --home /app app
USER app
WORKDIR /app
COPY --chown=app:app server/build/libs/server.jar .
COPY server/build/libs/server.jar .
EXPOSE 8887
CMD ["java", "-jar", "/app/server.jar"]

0 comments on commit 8baf133

Please sign in to comment.