CCash/Dockerfile
2021-06-24 19:16:00 +01:00

16 lines
284 B
Docker

FROM debian:latest
WORKDIR /ccash
RUN apt update && apt -y install build-essential g++ cmake protobuf-compiler libjsoncpp-dev uuid-dev openssl libssl-dev zlib1g-dev
COPY . .
RUN mkdir build
WORKDIR /ccash/build
RUN cmake ..
RUN make -j$(nproc)
ENTRYPOINT ["/ccash/build/bank"]