Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dockerized Testing Toolkit
DTT Backend
Commits
49633d77
Verified
Commit
49633d77
authored
Jan 09, 2021
by
Lukas Wiest
🚂
Browse files
refactor: un-modocot pom and dockerfile
parent
3e637c5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
49633d77
...
...
@@ -3,16 +3,16 @@
#base image
FROM
openjdk:11-jre-slim
ADD
target/
modoco
t-backend.jar app.jar
ADD
target/
dt
t-backend.jar app.jar
# Prepare environment.
# Create needed folders
RUN
mkdir
/
modoco
t
&&
\
mkdir
/
modoco
t/data
&&
\
mkdir
/
modoco
t/config
RUN
mkdir
/
dt
t
&&
\
mkdir
/
dt
t/data
&&
\
mkdir
/
dt
t/config
VOLUME
/modocot/data
env
SPRING_CONFIG_ADDITIONAL_LOCATION "file:/home/
modoco
t/config/"
env
SPRING_CONFIG_ADDITIONAL_LOCATION "file:/home/
dt
t/config/"
ENTRYPOINT
["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
pom.xml
View file @
49633d77
...
...
@@ -3,11 +3,11 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
de.hftstuttgart
</groupId>
<artifactId>
modoco
t-backend
</artifactId>
<artifactId>
dt
t-backend
</artifactId>
<version>
${buildNumber}
</version>
<packaging>
jar
</packaging>
<name>
Modoco
t-Backend
</name>
<name>
Dockerized-Testing-Toolki
t-Backend
</name>
<parent>
<groupId>
org.springframework.boot
</groupId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment