Skip to content

Commit

Permalink
Fixes for Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbelesky committed Sep 6, 2018
1 parent a7f12f4 commit 2e81ed1
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 32 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ ADD . /tcd/
RUN git config --global url."https://".insteadOf git://

# Install our node/python requirements
RUN npm install -g [email protected]
RUN pip install -r ./config/requirements_core.txt
RUN npm install
RUN npm install --only=production

# Compile all the static files
RUN npm rebuild node-sass --force
RUN npm run build
RUN python ./tabbycat/manage.py collectstatic --noinput -v 0
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ services:
environment:
- DEBUG=1
- IN_DOCKER=1
image: django
ports:
- "8000:8000"
volumes:
Expand Down
218 changes: 191 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"jquery": "^3.3.0",
"jquery-validation": "~1.17.0",
"jsbarcode": "^3.8.0",
"lodash": "^4.17.5",
"lodash": "^4.17.10",
"node-sass": "^4.9.3",
"npm-run-all": "^4.1.3",
"popper.js": "^1.14.4",
Expand Down Expand Up @@ -60,7 +60,7 @@
"lint-sass": "stylelint --cache \"tabbycat/templates/scss/**/*.scss\""
},
"devDependencies": {
"artillery": "^1.6.0-22",
"artillery": "^1.6.0-23",
"livereload": "^0.7.0",
"stylelint": "^9.x",
"stylelint-config-standard": "^18.x",
Expand Down

0 comments on commit 2e81ed1

Please sign in to comment.