https://github.com/grahms/docker-meteor
This is a simple image to run a meteor app in a docker container
https://github.com/grahms/docker-meteor
Last synced: 6 months ago
JSON representation
This is a simple image to run a meteor app in a docker container
- Host: GitHub
- URL: https://github.com/grahms/docker-meteor
- Owner: GraHms
- Created: 2020-06-08T08:17:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T08:28:35.000Z (about 6 years ago)
- Last Synced: 2025-11-23T18:04:52.620Z (9 months ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-meteor
This is a simple Dockerfile to run a meteor app in a docker container
It pulls the base image from my docker hub
```
FROM grahms/meteor
```
# copy your current meteor app to this path
# NB, This dockerfile should be inside your meteor app folder
```
COPY . /usr/src/app
WORKDIR /usr/src/app
```
# Some permissions over here
```
RUN chmod -R 700 /usr/src/app/.meteor/local
RUN meteor npm install
```
# the default port is 3000, you can expose what ever por you want
```
EXPOSE 3000
```
# finally run your app
```
CMD ["npm", "start"]
```