fix issue with missing /etc/torrc.d/*

This commit is contained in:
Shahrad Elahi
2023-12-11 04:06:15 +03:30
parent ee2f5808b8
commit 4aa94a787c
4 changed files with 23 additions and 11 deletions

View File

@@ -45,7 +45,10 @@ COPY docker-entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
VOLUME ["/etc/torrc.d"]
RUN mkdir -p /data && chmod 700 /data
RUN mkdir -p /etc/torrc.d && chmod -R 400 /etc/torrc.d
VOLUME ["/etc/torrc.d", "/data"]
# run the appc
EXPOSE 5173/tcp