1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-12-23 04:54:43 +01:00
bird-lg/Dockerfile.lgproxy

24 lines
415 B
Docker
Raw Normal View History

2020-06-15 23:04:48 +02:00
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"]