Added the ability to run in docker

This commit is contained in:
loviglass 2024-08-10 18:04:33 +03:00 committed by GitHub
parent 084921e523
commit d5eafd76bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 0 deletions

11
docker/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM ubuntu:latest
RUN apt-get update && apt-get install -y make
COPY . /app
WORKDIR /app
RUN make
ENTRYPOINT ["./ciadpi"]

10
docker/docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
version: '3'
services:
byedpi:
container_name: 'byedpi'
build:
context: ..
dockerfile: docker/Dockerfile
command: ["-s", "2", "-d", "2"]
ports:
- '1080:1080'