You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

8 lines
315 B

FROM openjdk:8
ADD . /build
RUN cd /build && chmod +x mvnw && ./mvnw package && mkdir /data
CMD ["java", "-jar", "/build/target/bananenrepublik-1.0.0.jar"]
# docker build -t api2b .
# docker run --rm -p 8080:8080 api2b # Add "-v $PWD:/data" before "api2b" to make the database persistent