Last active
October 2, 2017 04:27
Revisions
-
mikebz revised this gist
Oct 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -20,4 +20,4 @@ EXPOSE 8000 ENV NAME DEBUG CMD ["python", "manage.py", "runserver"] -
mikebz revised this gist
Oct 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -20,4 +20,4 @@ EXPOSE 8000 ENV NAME DEBUG CMD ["python", "manage.py runserver"] -
mikebz created this gist
Oct 2, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ FROM python:3.6-slim # install node RUN apt-get -y update RUN apt-get -y install curl RUN curl -sL https://deb.nodesource.com/setup_8.x | bash RUN apt-get -y install nodejs WORKDIR /app ADD . /app # install requirements for python and node # compile them RUN pip install -r requirements.txt RUN npm install RUN npm run build EXPOSE 8000 ENV NAME DEBUG CMD ["python", "managep.py runserver"]