build executable inside docker

to avoid segmentation fault
This commit is contained in:
Alexander Bentkamp
2022-10-19 09:16:57 +02:00
parent 121b0d0b8a
commit fd2af2fd24
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -8,4 +8,6 @@ COPY testgame ./testgame
# TODO: make `testgame` a build argument
WORKDIR /leanserver
RUN rm -f ./build/bin/gameserver
RUN lake build
CMD ["./build/bin/gameserver", "TestGame", "../testgame"]