initialize repository
This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal file
@ -0,0 +1,22 @@
|
||||
FROM python:2.7
|
||||
MAINTAINER Eric Taieb Walch <teknologist@gmail.com>
|
||||
|
||||
RUN mkdir /app && \
|
||||
cd /app && \
|
||||
git clone https://github.com/rshipp/python-nut2.git && \
|
||||
cd python-nut2 && \
|
||||
python setup.py install && \
|
||||
cd .. && \
|
||||
git clone https://github.com/rshipp/webNUT.git && cd webNUT && \
|
||||
pip install -e .
|
||||
|
||||
|
||||
|
||||
COPY /docker-entrypoint.sh /docker-entrypoint.sh
|
||||
RUN chmod +x /docker-entrypoint.sh
|
||||
|
||||
WORKDIR /app/webNUT
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
||||
EXPOSE 6543
|
Reference in New Issue
Block a user