Add Dockerfile

This commit is contained in:
Zhou Tianxing 2023-06-12 14:39:49 +08:00
parent c15f54e274
commit b757edb1e7

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM gcc:11 AS builder
WORKDIR /opt/
ADD / .
RUN make
FROM debian:bullseye-slim
COPY --from=builder /opt/src/predixy /bin/
COPY /conf/* /etc/predixy/
ENTRYPOINT ["predixy"]
CMD ["/etc/predixy/predixy.conf"]