Changes
Page history
Little fix
authored
Apr 11, 2022
by
Daniel Kluge
Show whitespace changes
Inline
Side-by-side
follow-up/Dockerization.md
View page @
7002cf63
# Dockerization
TODO
TODO
Dockerizing the project is challenging because of two things:
Dockerizing the project is challenging because of two things:
...
@@ -74,7 +73,7 @@ Again, this sets the current working directory inside the container.
...
@@ -74,7 +73,7 @@ Again, this sets the current working directory inside the container.
```
Dockerfile
```
Dockerfile
COPY
--from=build /root/.m2 /root/.m2
COPY
--from=build /root/.m2 /root/.m2
COPY
--from=build /root/app/classes classes
COPY
--from=build /root/app/
target/
classes classes
COPY
--from=build /root/app/classpath.txt .
COPY
--from=build /root/app/classpath.txt .
```
```
Here all files we need from the build stage are copied to our container.
Here all files we need from the build stage are copied to our container.
...
...
...
...