Commit 01cb115f authored by mathieu's avatar mathieu

add volume to ububi-fe

parent ee366c90
FROM ubuntu:18.04
LABEL maintainer="[email protected]" \
version="1.0" \
version="2.0" \
description="Docker image to contain UBUBI front end"
EXPOSE 9000/tcp
RUN mkdir -p /tmp/java8
RUN mkdir -p /usr/lib/jvm/
RUN mkdir -p /tmp/java8 /usr/lib/jvm/ /usr/src/myapp /server/mysqldata
ADD java/jdk-8u221-linux-x64.tar.gz /tmp
ADD java/jdk.jinfo /usr/lib/jvm/.jdk1.8.0_221-amd64.jinfo
......@@ -20,9 +19,9 @@ RUN ln -s /usr/lib/jvm/java-8-oracle-amd64 /usr/lib/jvm/jdk1.8.0_221-amd64
RUN chmod 700 /tmp/
RUN sh /tmp/
RUN mkdir -p /usr/src/myapp
WORKDIR /usr/src/myapp
VOLUME /server/mysqldata
VOLUME /usr/src/myapp
ENTRYPOINT ["./bin/start"]
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment