1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-12-22 20:44:43 +01:00
bird-lg/Dockerfile.lgproxy
Guillaume Marsay 3e72ecf573 Add Dockerfiles
2020-06-15 23:04:48 +02:00

24 lines
415 B
Docker

FROM debian:buster-slim
ENV LGUID 65534
ENV LGGID 65534
EXPOSE 8000
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
python-flask \
traceroute \
netbase \
gunicorn
WORKDIR /bird-lg
ADD lgproxy.* /bird-lg/
ADD bird.py /bird-lg/
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["lgproxy:app"]