Commit a66045d5 authored by Alexander Nielsen's avatar Alexander Nielsen
Browse files

Improved Dockerfile

parent 5baf52e3
Pipeline #63266 passed with stages
in 3 minutes and 12 seconds
FROM maven:3.5.4-jdk-9
EXPOSE 5000
ENV PORT=5000
RUN apt update && apt install -y pandoc texlive
RUN mkdir /usr/src/simplewebapp
......@@ -11,4 +8,4 @@ ADD . /usr/src/simplewebapp
RUN mvn package
ENTRYPOINT [ "sh", "target/bin/simplewebapp" ]
CMD [ "sh", "target/bin/simplewebapp" ]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment