|
|
# Dockerization
|
|
|
TODO
|
|
|
|
|
|
Dockerizing the project is challenging because of two things:
|
... | ... | @@ -74,7 +73,7 @@ Again, this sets the current working directory inside the container. |
|
|
|
|
|
```Dockerfile
|
|
|
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 .
|
|
|
```
|
|
|
Here all files we need from the build stage are copied to our container.
|
... | ... | |