17 lines
411 B
Docker
17 lines
411 B
Docker
FROM haproxy:2.1-alpine
|
|
|
|
WORKDIR /scripts
|
|
|
|
RUN apk add --no-cache bash python3 py-yaml supervisor docker \
|
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
|
|
|
COPY requirements.txt /scripts
|
|
RUN pip3 install --upgrade pip \
|
|
&& pip install -r requirements.txt
|
|
|
|
COPY templates /scripts/templates/
|
|
COPY easymapping /scripts/easymapping/
|
|
|
|
COPY assets /
|
|
|
|
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf" ]
|