# FROM python base image
FROM python:2-alpine
#COPY startup script
WORKDIR /app
RUN wget -O
https://github.com/secfigo/django.nv/archive/1.1.zip /app
RUN unzip -q
1.1.zipRUN rm
1.1.zipRUN mv django.nv-1.1-* django.nv-1.1
RUN apk add --no-cache gawk sed bash grep bc coreutils
RUN pip install -r requirements.txt
RUN chmod +x reset_db.sh && bash reset_db.sh
#EXPOSE port 8000 for communication to/from server
EXPOSE 8000
# CMD specifies the command to execute container starts running.
CMD ["/app/run_app_docker.sh"]