docker-compose 模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
366 B

3 years ago
FROM alpine:3.9.5
LABEL maintainer="ifui <ifui@foxmail.com>"
RUN mkdir /app_backup
COPY app_backup.sh /app_backup/app_backup.sh
COPY import.sh /app_backup/import.sh
COPY export.sh /app_backup/export.sh
RUN chmod +x /app_backup/app_backup.sh \
&& chmod +x /app_backup/import.sh \
&& chmod +x /app_backup/export.sh
CMD [ "sh", "/app_backup/app_backup.sh" ]