FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
angular-nodejs-example/Dockerfile at master · bibin-ecloudcontrol/angular-nodejs-example · GitHub
bibin-ecloudcontrol
angular-nodejs-example
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
angular-nodejs-example
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (12 loc) · 343 Bytes
Breadcrumbs
angular-nodejs-example
/
Dockerfile
Copy path
File metadata and controls
15 lines (12 loc) · 343 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
FROM
node:10 AS ui-build
WORKDIR
/usr/src/app
COPY
my-app/ ./my-app/
RUN
cd my-app && npm install @angular/cli && npm install && npm run build
FROM
node:10 AS server-build
WORKDIR
/root/
COPY
--from=ui-build /usr/src/app/my-app/dist ./my-app/dist
COPY
package*.json ./
RUN
npm install
COPY
server.js .
EXPOSE
3080
CMD
[
"node"
,
"server.js"
]
Back
|
FazBrowse Home
|
New Git URL