mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Added Dockerfile
This commit is contained in:
parent
232cae454a
commit
3d2c0f2baa
1 changed files with 20 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
|
@ -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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue