Commit d158eea5 authored by Furkan Mustafa's avatar Furkan Mustafa

Dockerfile update for latest refactoring

parent 21c4255c
......@@ -10,3 +10,4 @@ run
!beiran
!beiran_cli
!Dockerfile
!plugins
......@@ -7,7 +7,6 @@ RUN apt-get update && apt-get -y install \
RUN mkdir -p /opt/beiran/beiran
WORKDIR /opt
# Install bats
ADD beiran/requirements.txt /opt/beiran/r-lib.txt
RUN pip install -r /opt/beiran/r-lib.txt
......@@ -17,10 +16,27 @@ RUN pip install -r /opt/beiran/r-cli.txt
ADD beirand/requirements.txt /opt/beiran/r-daemon.txt
RUN pip install -r /opt/beiran/r-daemon.txt
ADD plugins/beiran_discovery_dns/requirements.txt /opt/beiran/r-dns.txt
RUN pip install -r /opt/beiran/r-dns.txt
ADD plugins/beiran_discovery_zeroconf/requirements.txt /opt/beiran/r-zeroconf.txt
RUN pip install -r /opt/beiran/r-zeroconf.txt
ADD plugins/beiran_package_docker/requirements.txt /opt/beiran/r-docker.txt
RUN pip install -r /opt/beiran/r-docker.txt
# ADD plugins/beiran_package_npm/requirements.txt /opt/beiran/r-npm.txt
# RUN pip install -r /opt/beiran/r-npm.txt
ADD [ "beirand", "/opt/beiran/beirand" ]
ADD [ "beiran", "/opt/beiran/beiran" ]
ADD [ "beiran_cli", "/opt/beiran/beiran_cli" ]
ADD [ "plugins/beiran_discovery_dns", "/opt/beiran/beiran_discovery_dns" ]
ADD [ "plugins/beiran_discovery_zeroconf", "/opt/beiran/beiran_discovery_zeroconf" ]
ADD [ "plugins/beiran_package_docker", "/opt/beiran/beiran_package_docker" ]
# ADD [ "plugins/beiran_package_npm", "/opt/beiran/beiran_package_npm" ]
ENV PYTHONPATH=/opt/beiran
VOLUME /var/lib/beiran
......
......@@ -15,12 +15,12 @@ services:
environment:
- DISCOVERY_METHOD=zeroconf
- LISTEN_ADDR=0.0.0.0
- LISTEN_PORT=8890
- LISTEN_PORT=8892
- LOG_LEVEL=INFO
# - HOSTNAME=b1
- DOCKER_HOST=http://172.17.0.1:2375
ports:
- 8890:8890
- 8892:8892
networks:
- test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment