mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
`rsync` is faster on multiple runs. The `--update` flag will only download newer images and does not overwrite existing files. Thus, it will only download missing images.
10 lines
197 B
Docker
10 lines
197 B
Docker
FROM mongo:4
|
|
|
|
RUN apt-get update \
|
|
&& apt-get -y install --no-install-recommends openssh-client rsync \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY .ssh /root/.ssh/
|
|
COPY import.sh .
|
|
|