forked from shokinn/Docker-CrushFTP
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (17 loc) · 710 Bytes
/
Dockerfile
File metadata and controls
25 lines (17 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM microblink/java:latest
MAINTAINER MarkusMcNugen
# Forked from shokinn
RUN apk upgrade --no-cache \
&& apk --no-cache add bash bash-completion bash-doc ca-certificates curl wget \
&& update-ca-certificates
RUN wget -O /tmp/CrushFTP10.zip https://www.crushftp.com/early10/CrushFTP10.zip
ADD ./setup.sh /var/opt/setup.sh
RUN chmod +x /var/opt/setup.sh
VOLUME [ "/var/opt/CrushFTP10" ]
ENTRYPOINT [ "/bin/bash", "/var/opt/setup.sh" ]
CMD ["-c"]
HEALTHCHECK --interval=1m --timeout=3s \
CMD curl -f ${CRUSH_ADMIN_PROTOCOL}://localhost:${CRUSH_ADMIN_PORT}/favivon.ico -H 'Connection: close' || exit 1
ENV CRUSH_ADMIN_PROTOCOL http
ENV CRUSH_ADMIN_PORT 8080
EXPOSE 21 443 2000-2100 2222 8080 9090