switch to updated base image
This commit is contained in:
parent
8d06ad7f0b
commit
dab8e5a17c
@ -1,9 +1,10 @@
|
||||
FROM debian8_python3
|
||||
FROM python:3.8-slim
|
||||
|
||||
MAINTAINER Joachim Lusiardi
|
||||
|
||||
RUN apt-get update; \
|
||||
apt-get install -y nginx;
|
||||
apt-get install -y nginx; \
|
||||
pip3 install docker-py
|
||||
|
||||
RUN mkdir /default
|
||||
ADD index.html /default/index.html
|
||||
@ -14,7 +15,6 @@ RUN chmod +x /start.sh
|
||||
|
||||
ADD nginx_proxy.py /nginx_proxy.py
|
||||
RUN chmod +x /nginx_proxy.py
|
||||
RUN pip3 install docker-py
|
||||
|
||||
EXPOSE 80
|
||||
ENTRYPOINT /start.sh
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3.4
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from docker import Client
|
||||
from docker.errors import APIError
|
||||
|
Loading…
Reference in New Issue
Block a user