Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
er
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
er
Commits
f47ba713
Unverified
Commit
f47ba713
authored
Jan 26, 2019
by
Сергей Прохоров
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'dumb-init' to docker
parent
3cf06c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Dockerfile
Dockerfile
+3
-1
No files found.
Dockerfile
View file @
f47ba713
...
...
@@ -19,10 +19,12 @@ RUN rebar3 as prod release
FROM
alpine
RUN
apk add
--no-cache
openssl
&&
\
apk add
--no-cache
ncurses-libs
apk add
--no-cache
ncurses-libs
&&
\
apk add
--no-cache
dumb-init
RUN
mkdir
-p
/opt
RUN
mkdir
-p
/var/log/mtproto-proxy
COPY
--from=0 /build/mtproto_proxy/_build/prod/rel/mtp_proxy /opt/mtp_proxy
ENTRYPOINT
["/usr/bin/dumb-init", "--"]
CMD
["/opt/mtp_proxy/bin/mtp_proxy", "foreground"]
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