1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/ndscheduler/Dockerfile

18 lines
353 B
Docker
Raw Normal View History

2020-05-22 07:28:29 +02:00
#
# Dockerfile for ndscheduler
#
FROM python:2-alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
2020-05-22 08:17:38 +02:00
&& apk add --no-cache bash sqlite \
&& pip install ndscheduler requests
2020-05-22 07:28:29 +02:00
WORKDIR /opt/ndscheduler
VOLUME /opt/ndscheduler
EXPOSE 8888
CMD ["python", "-c", "from ndscheduler.server.server import SchedulerServer; SchedulerServer.run()"]