Created
January 6, 2020 18:44
-
-
Save thatbudakguy/42645db10d10be12412a44b8a218f90e to your computer and use it in GitHub Desktop.
django docker devenv
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 node:8 | |
RUN mkdir /code | |
WORKDIR /code | |
COPY package.json /code/ | |
RUN npm -g config set user root | |
RUN npm install -g node-sass postcss-cli autoprefixer | |
RUN npm install | |
FROM python:3.5 | |
ENV PYTHONUNBUFFERED 1 | |
RUN mkdir /code | |
WORKDIR /code | |
COPY --from=0 /code . | |
COPY requirements/prod.txt . | |
RUN pip install -r prod.txt | |
COPY . . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment