Skip to content

Instantly share code, notes, and snippets.

@juliuscanute
Created June 21, 2019 08:24
Show Gist options
  • Save juliuscanute/b1f5fe689a4c09a7936835c60221c5c7 to your computer and use it in GitHub Desktop.
Save juliuscanute/b1f5fe689a4c09a7936835c60221c5c7 to your computer and use it in GitHub Desktop.
Spring Boot
FROM anapsix/alpine-java
RUN mkdir -p /usr/springboot
COPY ./target/api-0.0.1-SNAPSHOT.jar /usr/springboot
WORKDIR /usr/springboot
EXPOSE 8080
CMD ["java", "-jar", "api-0.0.1-SNAPSHOT.jar"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment