Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duiba-tiny-image-node
Project
Project
Details
Activity
Releases
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
劳工
duiba-tiny-image-node
Commits
12fca450
Commit
12fca450
authored
Feb 14, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
再次修复打包问题
parent
f8163b1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Dockerfile
Dockerfile
+1
-1
package.json
package.json
+4
-1
No files found.
Dockerfile
View file @
12fca450
...
...
@@ -12,4 +12,4 @@ RUN mkdir /root/duiba-deploy/
ADD
./duiba-deploy /root/duiba-deploy/
WORKDIR
/root/duiba-deploy/
#define entry point which will be run first when the container starts up
ENTRYPOINT
npm start
ENTRYPOINT
npm
run
start
package.json
View file @
12fca450
...
...
@@ -11,7 +11,10 @@
},
"scripts"
:
{
"dev"
:
"rollup -c -w"
,
"build"
:
"rollup -c"
,
"build:rollup"
:
"rollup -c"
,
"build"
:
"echo 1"
,
"install"
:
"yarn clean && yarn install"
,
"clean"
:
"rm -rf ./node_modules"
,
"start"
:
"node dist/index.js"
},
"devDependencies"
:
{
...
...
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