start as root
This commit is contained in:
parent
0d746bc19e
commit
4fddf02c82
@ -23,4 +23,4 @@ WORKDIR /
|
||||
|
||||
RUN apk del tar gcc make g++ openldap-dev
|
||||
|
||||
EXPOSE 2121
|
||||
EXPOSE 21
|
||||
|
@ -1,7 +1,7 @@
|
||||
ServerName "{{getenv "SERVER_NAME"}}"
|
||||
ServerType standalone
|
||||
DefaultServer on
|
||||
Port 2121
|
||||
Port 21
|
||||
UseIPv6 off
|
||||
Umask 022
|
||||
MaxInstances 30
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/usr/bin/with-contenv sh
|
||||
|
||||
exec s6-setuidgid proftp proftpd --nodaemon
|
||||
exec proftpd --nodaemon
|
||||
|
Loading…
Reference in New Issue
Block a user