Browse Source

Add more build steps!

feature/python-error-tracking
Drew Larson 8 years ago
parent
commit
f728de40d7
  1. 4
      Dockerfile

4
Dockerfile

@ -9,6 +9,10 @@ ADD bikeshop_project /code
COPY requirements /code/requirements COPY requirements /code/requirements
RUN pip install -r requirements/development.txt RUN pip install -r requirements/development.txt
RUN npm install RUN npm install
RUN npm install -g bower
COPY bower.json
RUN bower install
RUN python manage.py migrate
EXPOSE 8000:8000 EXPOSE 8000:8000
EXPOSE 3000:3000 EXPOSE 3000:3000
CMD python manage.py runserver 0.0.0.0:8000 CMD python manage.py runserver 0.0.0.0:8000

Loading…
Cancel
Save