diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 00000000..a922b64f --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,11 @@ +FROM ubuntu:latest + +RUN apt-get update && apt-get install -y make + +COPY . /app + +WORKDIR /app + +RUN make + +ENTRYPOINT ["./ciadpi"] diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 00000000..79c7e41f --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,10 @@ +version: '3' +services: + byedpi: + container_name: 'byedpi' + build: + context: .. + dockerfile: docker/Dockerfile + command: ["-s", "2", "-d", "2"] + ports: + - '1080:1080'