mirror of
https://github.com/hufrea/byedpi.git
synced 2024-12-22 14:25:44 +00:00
Added the ability to run in docker
This commit is contained in:
parent
084921e523
commit
d5eafd76bd
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…
Reference in New Issue
Block a user