inception/srcs/requirements/ftp/Dockerfile

13 lines
228 B
Docker
Raw Normal View History

2023-06-25 05:25:27 +02:00
FROM alpine
2023-08-14 03:23:48 +02:00
ARG FTPUSER=${FTPUSER}
ARG FTPPASSWD=${FTPPASSWD}
2023-06-25 05:25:27 +02:00
RUN sleep 10
RUN apk update
RUN apk add openssl
2023-08-10 12:12:21 +02:00
RUN apk add pure-ftpd
2023-08-14 03:23:48 +02:00
COPY srcs/start.sh /root/start.sh
2023-06-25 05:25:27 +02:00
WORKDIR /root/
2023-08-14 03:23:48 +02:00
CMD sh start.sh
2023-06-25 05:25:27 +02:00
EXPOSE 21/tcp
EXPOSE 21000/tcp