Skip to content

Commit c10fa44

Browse files
committed
fix node version
1 parent 7217b3c commit c10fa44

File tree

2 files changed

+2126
-1175
lines changed

2 files changed

+2126
-1175
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
FROM node:latest
1+
FROM node:25-alpine
2+
RUN apk add --no-cache git
3+
RUN apk add --no-cache openssl
24
RUN mkdir /src
35
COPY . /src
46
WORKDIR /src
57
RUN npm install
68
ARG viewer
79
ARG fork
8-
RUN apt-get update
9-
RUN apt-get install git -q -y
10-
RUN apt-get install sendmail -q -y
11-
RUN git clone https://github.com/${fork:-camicroscope}/camicroscope.git --branch=${viewer:-master}
1210
EXPOSE 4010
1311

1412
CMD node caracal.js

0 commit comments

Comments
 (0)