Created
February 28, 2023 22:14
-
-
Save gadmel/973c50dcc81589ffb649a3047830b6df to your computer and use it in GitHub Desktop.
Docker file for frontend-backend-application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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