today.dockerfile 283 B

1234567891011
  1. FROM gradle:8.6.0-jdk17 as build
  2. COPY --chown=gradle:gradle . /home/gradle/src
  3. WORKDIR /home/gradle/src
  4. RUN gradle installInfraDist --no-daemon
  5. FROM openjdk:21
  6. WORKDIR /today
  7. COPY --from=build /home/gradle/src/build/install/today-infra-app/ ./
  8. EXPOSE 8080
  9. ENTRYPOINT "./bin/today"