forked from TabbycatDebate/tabbycat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7f12f4
commit 2e81ed1
Showing
4 changed files
with
195 additions
and
32 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,6 @@ services: | |
environment: | ||
- DEBUG=1 | ||
- IN_DOCKER=1 | ||
image: django | ||
ports: | ||
- "8000:8000" | ||
volumes: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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