1
0
forked from PGL/Clyde
Clyde/backend/Dockerfile

15 lines
301 B
Docker
Raw Normal View History

## Building phase
FROM gradle:jdk21-alpine
# WORKDIR /app/back
COPY . .
RUN gradle build -x test
## Running Phase
FROM eclipse-temurin:21-jdk-alpine
2024-03-18 21:39:31 +01:00
VOLUME /cdn
# ENV SPRING_PROFILES_ACTIVE=prod
COPY build/libs/Clyde-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app.jar"]