You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- FROM python:3.5
-
- RUN mkdir /backend
- WORKDIR /backend
- RUN apt-get update && apt-get install -y \
- supervisor \
- netcat \
- && rm -rf /var/lib/apt/lists/*
- ADD requirements.txt /backend/
- RUN pip install -r requirements.txt
- ADD . /backend/
-
- COPY entrypoint.sh /
- RUN chmod 755 /entrypoint.sh
- ENTRYPOINT ["/entrypoint.sh"]
-
- COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
- CMD ["/usr/bin/supervisord"]
|