mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-23 12:43:10 +00: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:
commit
e120415631
1 changed files with 2 additions and 2 deletions
|
@ -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/ \
|
||||
|
|
Loading…
Reference in a new issue