-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
15 additions
and
383 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,17 +1,13 @@ | ||
FROM node:16-stretch-slim | ||
RUN apt-get update && apt-get upgrade -y && apt-get install -y git build-essential python3 | ||
FROM node:20-alpine | ||
RUN apk add --no-cache git | ||
RUN apk add --no-cache openssl | ||
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 | ||
RUN git clone https://github.com/${fork:-camicroscope}/camicroscope.git --branch=${viewer:-master} --depth 1 | ||
EXPOSE 4010 | ||
|
||
CMD node caracal.js |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.