From 3d2c0f2baaaffe25b7a897b50c037bcf5621fb9a Mon Sep 17 00:00:00 2001 From: Roger Date: Mon, 14 Aug 2023 14:40:45 +0000 Subject: [PATCH] Added Dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..7078b8c93 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Starting out with the openjdk-11-slim image +FROM maven:3-openjdk-11-slim + +# Set working directory to /app +WORKDIR /app + +# Update apt; install git and git-lfs +RUN apt-get update && apt-get -qq -y install git git-lfs + +# Clone the 2009scape repository +RUN git clone --depth=1 https://gitlab.com/2009scape/2009scape.git + +# Fake it til you make it - let's go home +WORKDIR /app/2009scape + +# Make sure ./run has permissions +RUN chmod +x run + +# Run it +CMD ["./run"]