You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
372 B
Docker
20 lines
372 B
Docker
ARG GAME_DIR
|
|
FROM elan:latest
|
|
|
|
WORKDIR /
|
|
|
|
# Copy lean files
|
|
COPY GameServer ./GameServer
|
|
COPY Main.lean ./Main
|
|
COPY lakefile.lean ./lakefile.lean
|
|
COPY lake-manifest.json ./lake-manifest.json
|
|
COPY lean-toolchain ./lean-toolchain
|
|
COPY $GAME_DIR ./$GAME_DIR
|
|
# TODO: make `adam` a build argument
|
|
|
|
WORKDIR /
|
|
RUN rm -f ./build/bin/gameserver
|
|
RUN lake build
|
|
|
|
WORKDIR /build/bin/
|