Skip to content

Commit

Permalink
add fork arg
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Jul 16, 2020
1 parent 5bbe7b9 commit c6ea4ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ COPY . /root/src
WORKDIR /root/src
RUN npm install
ARG viewer
RUN if [ -z ${viewer} ]; then git clone https://github.com/camicroscope/camicroscope.git; else git clone https://github.com/camicroscope/camicroscope.git --branch=$viewer; fi
ARG fork
RUN git clone https://github.com/${fork:-camicroscope}/camicroscope.git --branch=${viewer:-master}
EXPOSE 8010
CMD node caracal.js

0 comments on commit c6ea4ee

Please sign in to comment.