Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
idatt2106-2024-07
backend
Commits
759b5f70
Commit
759b5f70
authored
1 year ago
by
Andreas Kluge Svendsrud
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
55862dfd
No related branches found
No related tags found
No related merge requests found
Pipeline
#284637
passed
1 year ago
Stage: build_test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+18
-0
18 additions, 0 deletions
README.md
with
18 additions
and
0 deletions
README.md
+
18
−
0
View file @
759b5f70
...
@@ -31,6 +31,24 @@ mvn clean install
...
@@ -31,6 +31,24 @@ mvn clean install
mvn spring-boot:run
mvn spring-boot:run
```
```
## Docker
How to run the application with docker.
**NOTE:**
You need to have docker pre-installed:
[
Click here
](
https://docs.docker.com/get-docker/
)
### 1. Build the Docker image
```
bash
docker build
-t
your-image-name .
```
### 2. Verify the image was created
```
bash
docker images
```
### 3. Run the Docker container:
```
bash
docker run
-d
--name
your-container-name
-p
8080:8080 your-image-name
```
## Tests
## Tests
### 1. Run tests
### 1. Run tests
```
bash
```
bash
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment