Skip to content

edipal/github-actions-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Build the First containerized java web application

Prerequisite

  • JDK 17 or above
  • Spring Tool Suite for Eclipse
  • Docker Desktop

License

FOSSA Status

Getting Started

Step 1. Clone the repository

git clone https://github.com/dockersamples/genie-website-java

Step 2. Building the JAR file

Use the Spring Tool Suite to build the JAR file

image

image

Step 3. Building docker image

I assume that you have already followed step 2 to build webapp-0.0.1-SNAPSHOT.jar file under the target directory.

docker build -t docker_desktop_page .

Step 4. Running the docker container

docker run -p 8080:8080 docker_desktop_page

Screenshot 2022-08-10 at 11 41 18 PM

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • HTML 97.4%
  • Java 2.2%
  • Dockerfile 0.4%