Docker & adding travis
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM python:2
|
||||
|
||||
RUN pip install --no-cache-dir zeroc-ice
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
COPY . /mumo
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
ln -sf /dev/stdout /mumo/mumo.log
|
||||
|
||||
VOLUME ["/data"]
|
||||
|
||||
WORKDIR /mumo
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
|
||||
CMD ["/mumo/mumo.py", "--ini", "/data/mumo.ini"]
|
||||
Reference in New Issue
Block a user