Skip to content

Instantly share code, notes, and snippets.

@AlbinoDrought
Created July 17, 2019 21:06
Show Gist options
  • Save AlbinoDrought/d91bf72c102eaa12c7d79484925dd8d0 to your computer and use it in GitHub Desktop.
Save AlbinoDrought/d91bf72c102eaa12c7d79484925dd8d0 to your computer and use it in GitHub Desktop.
Bastillion Dockerfile
FROM maven:3
ADD . /usr/src/app/
WORKDIR /usr/src/app
RUN git clone https://github.com/bastillion-io/lmvc.git && \
cd lmvc && \
mvn clean package install
RUN mvn package jetty:effective-web-xml
RUN mkdir -p /opt/bastillion && echo changeme > /opt/bastillion/instance_id
EXPOSE 8443
CMD [ "mvn", "jetty:run" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment