forked from mtgred/netrunner
-
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.
Improve Dockerfile, compose commands, compose.sh
- Require volume and set WORKDIR on Dockerfile (saves having to `cd` before all the commands in `compose.yml` - Use image named netrunner-node rather than build on each `docker-compose up` - Add flag to `./compose.sh` to build netrunner-node image from Dockerfile - Move environment variables defined in service commands into compose `environment:` fields - Separate npm-install service from fetch service (which pulls card data) - Rename working directory in containers from `/workdir` to `/netrunner`
- Loading branch information
1 parent
4b1b84e
commit 84f11f2
Showing
3 changed files
with
52 additions
and
19 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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
FROM node:latest | ||
|
||
RUN apt-get update && apt-get install -y libzmq3-dev | ||
|
||
VOLUME /netrunner | ||
|
||
WORKDIR /netrunner |
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
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