FROM amazoncorretto:21 COPY . /usr/src/surl WORKDIR /usr/src/surl RUN chmod 754 ./gradlew && ./gradlew build -x test CMD ["java", "-jar", "./build/libs/surl-0.0.1-SNAPSHOT.jar"]