how-to-make-stock-trading-system.dogwood008.com
これの続きをやっている。
FROM python:3.9.5-slim-buster LABEL maintainer="dogwood008" ENV MOUNTPOINT /mnt/kabuplus ENV WEBDAV_SERVER_ADDRESS ${WEBDAV_SERVER_ADDRESS} ENV KABU_PLUS_ID ${KABU_PLUS_ID} ENV KABU_PLUS_PW ${KABU_PLUS_PW} RUN apt update RUN apt install -y davfs2 vim # https://l-w-i.net/t/ubuntu/davfs2_001.txt RUN echo "${WEBDAV_SERVER_ADDRESS} ${KABU_PLUS_ID} ${KABU_PLUS_PW}" >> /etc/davfs2/secrets # https://linux.just4fun.biz/?Ubuntu/WebDAV%E3%82%92%E4%B8%80%E8%88%AC%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%81%A7%E7%89%B9%E5%AE%9A%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E3%81%AB%E3%83%9E%E3%82%A6%E3%83%B3%E3%83%88%E3%81%99%E3%82%8B%E6%89%8B%E9%A0%86 RUN chmod 600 /etc/davfs2/secrets RUN echo "${WEBDAV_SERVER_ADDRESS} ${MOUNTPOINT} davfs user,auto 0 0" >> /etc/fstab #RUN mkdir -p ${MOUNTPOINT} #RUN mount ${MOUNTPOINT}