Skip to content

Instantly share code, notes, and snippets.

@gadmel
Created February 28, 2023 22:14
Show Gist options
  • Save gadmel/973c50dcc81589ffb649a3047830b6df to your computer and use it in GitHub Desktop.
Save gadmel/973c50dcc81589ffb649a3047830b6df to your computer and use it in GitHub Desktop.
Docker file for frontend-backend-application
FROM openjdk:19
EXPOSE 8080
WORKDIR /usr/src/myapp
ADD backend/target/app.jar app.jar
CMD ["sh", "-c", "java -jar app.jar"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment