diff --git a/base/Dockerfile b/base/Dockerfile index bdbea33..748aa0c 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -8,8 +8,13 @@ ARG addpkg # Build ARG: use "root" for debugging ARG debug -# Install packages +# Copy mirrorlist COPY mirrorlist /etc/pacman.d/mirrorlist + +# Copy app folder +COPY app /app + +# Install packages RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \ pacman-key --init \ && sed -i '/ParallelDownloads/c ParallelDownloads = 10' /etc/pacman.conf \ @@ -42,4 +47,4 @@ ENV PS1="[\u@\h \W \$?]\$ " EXPOSE 6900 # Docker entrypoint -ENTRYPOINT ["/app/entrypoint"] \ No newline at end of file +ENTRYPOINT ["/app/entrypoint"]