https://github.com/scyv/meteor-docker-base
Dockerfile for creating a base image for building and running meteor apps in docker containers
https://github.com/scyv/meteor-docker-base
dockerfile meteor-docker meteorjs
Last synced: 6 months ago
JSON representation
Dockerfile for creating a base image for building and running meteor apps in docker containers
- Host: GitHub
- URL: https://github.com/scyv/meteor-docker-base
- Owner: scyv
- Created: 2019-01-28T17:06:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-18T19:47:53.000Z (about 6 years ago)
- Last Synced: 2025-01-08T04:41:27.417Z (about 1 year ago)
- Topics: dockerfile, meteor-docker, meteorjs
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# meteor-docker-base
Dockerfile for creating a base image for building and running meteor apps in docker containers
## Build docker image
Build the docker image with:
```
docker build -t meteor-base:latest .
```
## Build Arguments
There are some build arguments that can be used to give the build some input:
| Argument | Description | default |
|---|---|---|
| METEOR_RELEASE | The release version of Meteor | 1.8.2 |
| NODE_VERSION | The release version of Node | v8.16.2 |
| NPM_VERSION | The release version of NPM | 6.13.0 |
| FIBERS_VERSION | Version of the fibers npm package | 3.1.1 |
| ARCHITECTURE | target architecture (used to fetch the correct node package) | linux-x64 |
You can override the defaults e.g. with:
```
docker build -t meteor-base:my-special-arg --build-arg METEOR_RELEASE=1.8.1 .
```
## Usage
* To build a complete meteor app in a docker container, use a Dockerfile like https://github.com/scyv/scrum-poker/blob/master/Dockerfile
* Recommended is a docker-compose file like https://github.com/scyv/scrum-poker/blob/master/docker-compose.yml to start a complete environment (with mongodb)