Last active
October 28, 2018 16:46
-
-
Save Steampunkery/12817377e06ba9454641024a3f2573ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:2.7 | |
MAINTAINER CloudCV Team <[email protected]> | |
WORKDIR /app | |
ENV PYTHONUNBUFFERED 1 | |
COPY . /app | |
RUN mkdir -p static/ | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update | |
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - | |
RUN apt-get install -y apt-utils | |
RUN apt-get install -y nodejs | |
RUN pip install uwsgi channels | |
RUN npm install -g n | |
RUN npm install -g npm@latest | |
RUN n lts | |
RUN pip install -r requirements.txt | |
CMD ["/bin/bash", "/app/docker/django/django-entrypoint.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment