Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
Services
Motion Bank API
Commits
23785cf2
Commit
23785cf2
authored
Oct 14, 2019
by
Anton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add entrypoint script for expanding secrets as env variables
parent
b54b860e
Pipeline
#16802
passed with stage
in 1 minute and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Dockerfile
Dockerfile
+5
-1
No files found.
Dockerfile
View file @
23785cf2
FROM
node:10
MAINTAINER
Motion Bank
COPY
.docker-lib/scripts/entrypoint.sh /usr/local/bin/
COPY
.docker-lib/scripts/env_secrets_expand.sh /usr/local/bin/
RUN
chmod
+x /usr/local/bin/
*
.sh
WORKDIR
/app
COPY
. .
RUN
rm
-rf
node_modules
RUN
npm
install
--production
EXPOSE
3030
CMD
[
"node", "src"]
ENTRYPOINT
["entrypoint.sh",
"node", "src"]
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