build executable inside docker
to avoid segmentation fault
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user