Commit dfd455cf authored by Bargavi Chandramouli's avatar Bargavi Chandramouli
Browse files

dockerfile works more or less

parent bf96db5d
Pipeline #65285 failed with stages
in 1 minute and 47 seconds
FROM openjdk:12
FROM ubuntu:14.04
FROM ubuntu:16.04
FROM openjdk:11-jdk
ENV directory /simplewebapp
......@@ -7,10 +7,10 @@ WORKDIR ${directory}
COPY . ${directory}
RUN ["/bin/bash", "-c", "apt-get update"]
RUN apt-get update
RUN apt-get install -y maven pandoc
RUN mvn package
EXPOSE 8080
RUN 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