1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-29 17:19:53 +02:00

Merge pull request #216 from bltavares/master

Copy project into image instead of cloning to avoid stale images on Docker Hub
This commit is contained in:
Nick Sweeting
2019-04-12 13:33:03 -04:00
committed by GitHub

View File

@@ -45,8 +45,8 @@ RUN groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser \
&& chown -R pptruser:pptruser /node_modules && chown -R pptruser:pptruser /node_modules
# Install the ArchiveBox repository and pip requirements # Install the ArchiveBox repository and pip requirements
RUN git clone https://github.com/pirate/ArchiveBox /home/pptruser/app \ COPY . /home/pptruser/app
&& mkdir -p /data \ RUN mkdir -p /data \
&& chown -R pptruser:pptruser /data \ && chown -R pptruser:pptruser /data \
&& ln -s /data /home/pptruser/app/archivebox/output \ && ln -s /data /home/pptruser/app/archivebox/output \
&& ln -s /home/pptruser/app/bin/* /bin/ \ && ln -s /home/pptruser/app/bin/* /bin/ \