mirror of
https://github.com/hufrea/byedpi.git
synced 2025-03-07 09:35:42 +03:00
Added the ability to run in docker
This commit is contained in:
parent
084921e523
commit
d5eafd76bd
2 changed files with 21 additions and 0 deletions
11
docker/Dockerfile
Normal file
11
docker/Dockerfile
Normal 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
10
docker/docker-compose.yml
Normal 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'
|
Loading…
Add table
Reference in a new issue