Skip to content

Commit

Permalink
†追加† Dockerfileを書いた
Browse files Browse the repository at this point in the history
  • Loading branch information
loxygenK committed Oct 10, 2020
1 parent 20d99a7 commit 32ad454
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM openjdk:8-slim

RUN apt-get update

RUN mkdir /src
COPY . /src
WORKDIR /src

RUN ./gradlew shadowJar

# TODO: build.gradleでのバージョン設定が変わるとここのファイル名も変わるのであぶない、どうにかしたい
ENTRYPOINT ["java", "-jar", "/src/build/libs/genkai-dictionary-1.0-SNAPSHOT-all.jar"]

0 comments on commit 32ad454

Please sign in to comment.