17 lines
294 B
Docker
17 lines
294 B
Docker
FROM ubuntu:24.04
|
|
|
|
RUN apt update && \
|
|
apt install -y openssl && \
|
|
apt clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN mkdir -p /app /etc/letsencrypt /dest/1000
|
|
|
|
COPY copy.sh /app/copy.sh
|
|
|
|
RUN chmod +x /app/copy.sh
|
|
|
|
VOLUME /etc/letsencrypt
|
|
VOLUME /dest/1000
|
|
|
|
ENTRYPOINT ["/app/copy.sh"] |