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 e31aa8a8
authored
Nov 17, 2016
by
Johannes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename app.js -> server.js
1 parent
3d716d9e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
Dockerfile
package.json
app.js → server.js
start.sh
Dockerfile
View file @
e31aa8a
...
...
@@ -10,7 +10,7 @@ ADD src /app/code/src
ADD
app /app/code/app
ADD
cli /app/code/cli
ADD
package.json
app
.js start.sh README.md /app/code/
ADD
package.json
server
.js start.sh README.md /app/code/
RUN
npm install --production
...
...
package.json
View file @
e31aa8a
...
...
@@ -2,7 +2,7 @@
"name"
:
"cloudron-surfer"
,
"version"
:
"3.0.0"
,
"description"
:
"Simple file server"
,
"main"
:
"
app
.js"
,
"main"
:
"
server
.js"
,
"scripts"
:
{
"test"
:
"./node_modules/mocha/bin/_mocha -R spec ./test/test.js"
},
...
...
app
.js
→
server
.js
View file @
e31aa8a
File moved
start.sh
View file @
e31aa8a
...
...
@@ -6,4 +6,4 @@ export NODE_ENV=production
chown -R cloudron:cloudron /app/data
/usr/local/bin/gosu cloudron:cloudron node /app/code/
app
.js /app/data
/usr/local/bin/gosu cloudron:cloudron node /app/code/
server
.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