-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from camicroscope/develop
For 3.8.4
- Loading branch information
Showing
4 changed files
with
146 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
FROM node:14-stretch-slim | ||
RUN apt-get update && apt-get upgrade -y && apt-get install -y git build-essential python3 | ||
RUN mkdir /root/src | ||
COPY . /root/src | ||
WORKDIR /root/src | ||
RUN mkdir /src | ||
COPY . /src | ||
WORKDIR /src | ||
RUN npm install | ||
ARG viewer | ||
ARG fork | ||
RUN git clone https://github.com/${fork:-camicroscope}/camicroscope.git --branch=${viewer:-master} | ||
EXPOSE 8010 | ||
|
||
RUN chgrp -R 0 /src && \ | ||
chmod -R g+rwX /src | ||
|
||
USER 1001 | ||
|
||
CMD node caracal.js |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters