FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
angular-starter/Dockerfile-dev at master · angular-fun/angular-starter · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
angular-fun
/
angular-starter
Public
forked from
PatrickJS/angular-webpack-starter
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
angular-starter
/
Dockerfile-dev
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (16 loc) · 599 Bytes
Breadcrumbs
angular-starter
/
Dockerfile-dev
Copy path
File metadata and controls
21 lines (16 loc) · 599 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Usage:
#
# Build image:
# docker build -t angular-starter .
#
# Run image (on localhost:8080):
# docker run --name angular-starter -p 8080:80 angular-starter
#
# Run image as virtual host (read more: https://github.com/jwilder/nginx-proxy):
# docker run -e VIRTUAL_HOST=angular-starter.your-domain.com --name angular-starter angular-starter
FROM node:8.9.4-alpine as builder
COPY package.json ./
## Storing node modules on a separate layer will prevent unnecessary npm installs at each build
RUN npm i && mkdir /ng-app && mv ./node_modules ./ng-app
WORKDIR /ng-app
COPY . .
Back
|
FazBrowse Home
|
New Git URL