1
0
Fork 0
mirror of synced 2024-06-01 10:09:49 +12: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
commit e120415631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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