Skip to content

Instantly share code, notes, and snippets.

@Steampunkery
Last active October 28, 2018 16:46
Show Gist options
  • Save Steampunkery/12817377e06ba9454641024a3f2573ca to your computer and use it in GitHub Desktop.
Save Steampunkery/12817377e06ba9454641024a3f2573ca to your computer and use it in GitHub Desktop.
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