Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

Dockerfile

Blame
  • Dockerfile 175 B
    FROM openjdk:17-jdk-alpine
    WORKDIR /usr/src/app
    COPY . /usr/src/app
    RUN mvn package
    
    COPY ./target/spring-0.0.1-SNAPSHOT.jar app.jar
    EXPOSE 8080
    ENTRYPOINT  java -jar app.jar