Skip to content

Commit

Permalink
chore: Build checksに基づいてDockerfileを更新 (#199)
Browse files Browse the repository at this point in the history
chore: dockerfileの更新
  • Loading branch information
book000 authored Aug 3, 2024
1 parent 843ad14 commit 8a8c6a9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM azul/zulu-openjdk-alpine:21-latest as builder
FROM azul/zulu-openjdk-alpine:21-latest AS builder

# hadolint ignore=DL3018
RUN apk add --no-cache git wget unzip
Expand All @@ -16,7 +16,7 @@ COPY src src

RUN ./gradlew build

FROM azul/zulu-openjdk-alpine:21-latest as runner
FROM azul/zulu-openjdk-alpine:21-latest AS runner

WORKDIR /app

Expand All @@ -32,10 +32,10 @@ RUN apk add --update --no-cache libstdc++ msttcorefonts-installer fontconfig cur

COPY --from=builder /build/build/libs/vcspeaker-*.jar /app/vcspeaker-kt.jar

ENV VCSKT_CONFIG /data/config.yml
ENV VCSKT_STORE /data/store/
ENV VCSKT_CACHE /data/cache/
ENV GOOGLE_APPLICATION_CREDENTIALS /data/google-credential.json
ENV TZ Asia/Tokyo
ENV VCSKT_CONFIG=/data/config.yml
ENV VCSKT_STORE=/data/store/
ENV VCSKT_CACHE=/data/cache/
ENV GOOGLE_APPLICATION_CREDENTIALS=/data/google-credential.json
ENV TZ=Asia/Tokyo

CMD ["java", "-jar", "/app/vcspeaker-kt.jar"]

0 comments on commit 8a8c6a9

Please sign in to comment.