Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@LeonZhang77 @mksuni
24 lines (19 sloc) 573 Bytes
FROM python:3.4
RUN mkdir /code
ADD requirements.txt /code/
RUN pip install -r requirements.txt
ADD . /code/
# ssh
ENV SSH_PASSWD "root:Docker!"
RUN apt-get update \
&& apt-get install -y --no-install-recommends dialog \
&& apt-get update \
&& apt-get install -y --no-install-recommends openssh-server \
&& echo "$SSH_PASSWD" | chpasswd
COPY sshd_config /etc/ssh/
COPY /usr/local/bin/
RUN chmod u+x /usr/local/bin/
EXPOSE 8000 2222
#CMD ["python", "/code/", "runserver", ""]
You can’t perform that action at this time.