Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
PUBLIC
/
surfer-okd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e16480a3
authored
Sep 08, 2015
by
Johannes Zellner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not use forever
1 parent
ea22572f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
Dockerfile
start.sh
Dockerfile
View file @
e16480a
...
...
@@ -13,8 +13,6 @@ ADD app /app/code/app
ADD
start.sh /app/code/start.sh
RUN
npm install
RUN
npm install -g forever
EXPOSE
3000
CMD
[ "/app/code/start.sh" ]
start.sh
View file @
e16480a
...
...
@@ -4,5 +4,5 @@ set -eu
export
NODE_ENV
=
production
forever start --workingDir /app/code app.js /app/data
forever logs -f 0
\ No newline at end of file
cd
/app/code
app.js /app/data
Write
Preview
Markdown
is supported
Attach a file
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 post a comment