优化pureftp

This commit is contained in:
KennyLee 2017-10-13 15:53:00 +08:00
parent 7bc880b92e
commit 0d2c9df1cf
2 changed files with 1 additions and 4 deletions

View File

@ -4,15 +4,14 @@
# Base image: https://github.com/stilliard/docker-pure-ftpd
# Command format: Instruction [arguments command] ..
# 第一行必须指定基于的基础镜像
FROM stilliard/pure-ftpd
# 维护者信息
MAINTAINER kennylee26 <kennylee26@gmail.com>
ENV FTP_USER_HOME=/home/ftpusers
ENV FTP_USER=ftp
ENV FTP_PWD=ftp
ENV TZ=Asia/Shanghai
RUN curl http://mirrors.163.com/.help/sources.list.jessie>/etc/apt/sources.list

View File

@ -9,5 +9,3 @@ app:
- /home/data/ftp/files:/home/ftpusers
- /home/data/ftp/pure-ftpd:/etc/pure-ftpd
restart: always
environment:
- TZ=Asia/Shanghai