mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2025-10-13 20:18:52 +02:00
fix(docker): remove unnecessary volume declaration and clean up bashrc setup
This commit is contained in:
@@ -21,7 +21,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||
apt-get purge -y --auto-remove adduser
|
||||
|
||||
COPY ${TARGETPLATFORM}/CBZOptimizer ${APP_PATH}
|
||||
VOLUME ${CONFIG_FOLDER}
|
||||
|
||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||
@@ -35,8 +34,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||
bash-completion && \
|
||||
/tmp/target/encoder-setup && \
|
||||
chmod +x ${APP_PATH} && \
|
||||
${APP_PATH} completion bash > /etc/bash_completion.d/CBZOptimizer.bash && \
|
||||
echo "source /etc/bash_completion.d/CBZOptimizer.bash" >> ${CONFIG_FOLDER}/.bashrc
|
||||
${APP_PATH} completion bash > /etc/bash_completion.d/CBZOptimizer.bash
|
||||
|
||||
|
||||
USER ${USER}
|
||||
ENTRYPOINT ["/usr/local/bin/CBZOptimizer"]
|
||||
|
Reference in New Issue
Block a user