This commit is contained in:
Akbar Yahya
2022-11-21 16:30:31 +08:00
commit e0d4d8040c
3326 changed files with 683000 additions and 0 deletions

24
os Normal file
View File

@@ -0,0 +1,24 @@
FROM ubuntu:latest
RUN export DEBIAN_FRONTEND=noninteractive &&\
apt update && apt-get upgrade -y && apt-get -y install \
# dependencies
git build-essential cmake pkgconf libenet-dev libprotobuf-dev protobuf-compiler liblua5.3-dev nlohmann-json3-dev libreadline-dev \
# for dispatch server
python3
WORKDIR /root
COPY soggy-mistress/ ./server/
COPY soggy_resources/ ./server/build/resources/
RUN ls server && cd server &&\
cmake -B build &&\
cmake --build build -j8
#RUN cd server/build/ && ./soggy
COPY app.sh ./app.sh
EXPOSE 22102 8099
ENTRYPOINT ["sh", "app.sh"]