Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
writeFrame
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
gargantext
writeFrame
Commits
b53d2ed6
Commit
b53d2ed6
authored
Apr 02, 2019
by
Lennart Weller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the exec mistake and moved directives
parent
d2d5326a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
Dockerfile
chart/Dockerfile
+3
-6
chart-entrypoint.sh
resources/chart-entrypoint.sh
+1
-1
No files found.
chart/Dockerfile
View file @
b53d2ed6
...
...
@@ -13,8 +13,9 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
tar
-C
/usr/local/bin
-xzvf
dockerize-linux-amd64-
$DOCKERIZE_VERSION
.tar.gz
&&
\
rm
dockerize-linux-amd64-
$DOCKERIZE_VERSION
.tar.gz
# Add configuraton files
# Add configuraton
and init
files
COPY
resources/config.json resources/.sequelizerc /files/
COPY
resources/chart-entrypoint.sh /usr/local/bin/chart-entrypoint.sh
RUN
apt-get update
&&
\
apt-get
install
-y
git build-essential jq
&&
\
...
...
@@ -55,10 +56,6 @@ RUN apt-get update && \
WORKDIR
/codimd
EXPOSE
3000
COPY
resources/chart-entrypoint.sh /usr/local/bin/chart-entrypoint.sh
USER
codimd
ENTRYPOINT
["/usr/local/bin/chart-entrypoint.sh"]
CMD
["node", "app.js"]
USER
codimd
resources/chart-entrypoint.sh
View file @
b53d2ed6
...
...
@@ -41,4 +41,4 @@ fi
}
;
}
# run
exec
codimd
"
$@
"
exec
"
$@
"
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