https://github.com/srph/docker-frontend
Dockerfile for frontend
https://github.com/srph/docker-frontend
Last synced: 3 months ago
JSON representation
Dockerfile for frontend
- Host: GitHub
- URL: https://github.com/srph/docker-frontend
- Owner: srph
- Created: 2016-04-26T07:40:04.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-27T09:10:02.000Z (about 10 years ago)
- Last Synced: 2025-01-26T17:16:01.613Z (over 1 year ago)
- Language: Nginx
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# docker-frontend
```bash
$ docker build -t srph/frontend
```
Dockerfile for frontend, based on [`srph/debian-es`](https://github.com/srph/docker-debian-es). Sets up `node 5.x`, `npm 3.x`, and `nginx 1.9.x`.
## Example Dockerfile
```Dockerfile
FROM srph/frontend
# ... other config
```
## Running
```bash
$ docker build -t srph/frontend
$ docker run -itd -p 80:80 -v $(pwd):/usr/share/nginx/html srph/frontend
# visit http://$(docker-machine ip default) afterwards
```