Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
xy-ads
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tf-boys
xy-ads
Commits
4fc2c5b1
Commit
4fc2c5b1
authored
Jun 09, 2017
by
coolfish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置
parent
983c8272
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
.dockerignore
.dockerignore
+4
-0
Dockerfile
Dockerfile
+16
-0
No files found.
.dockerignore
0 → 100644
View file @
4fc2c5b1
.DS_Store
npm-debug.log
node_modules/
\ No newline at end of file
Dockerfile
0 → 100644
View file @
4fc2c5b1
FROM
node:7.9
RUN
mkdir
-p
/usr/src/app
WORKDIR
/usr/src/app
COPY
package.json /usr/src/app/
RUN
npm
install
--production
--registry
=
https://registry.npm.taobao.org
COPY
. /usr/src/app
CMD
npm start
EXPOSE
3000
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment