feat: docker 이용한 서버 실행 및 사용 설명 추가, 환경변수 이용한 주소
처리 추가
This commit is contained in:
parent
f108967cc7
commit
ad5c01fd86
6 changed files with 85 additions and 14 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM debian:trixie AS builder
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
cmake \
|
||||
make \
|
||||
g++ \
|
||||
libboost-all-dev \
|
||||
libssl-dev
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN bash ./setup.sh
|
||||
|
||||
RUN cmake --build build -j$(nproc)
|
||||
|
||||
CMD ["build/Server"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue