daiwei114 commited on
Commit
ec78a52
·
verified ·
1 Parent(s): d87b8fa

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -5,9 +5,10 @@ RUN useradd -ms /bin/bash mcp
5
  WORKDIR /app
6
 
7
  RUN apt-get update && \
8
- apt-get install -y curl unzip && \
9
- curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
10
- apt-get install -y nodejs && \
 
11
  apt-get clean && rm -rf /var/lib/apt/lists/*
12
 
13
  COPY entrypoint.sh /app/
@@ -30,4 +31,4 @@ USER mcp
30
 
31
  EXPOSE 8000
32
 
33
- ENTRYPOINT ["/app/entrypoint.sh"]
 
5
  WORKDIR /app
6
 
7
  RUN apt-get update && \
8
+ apt-get install -y --no-install-recommends curl unzip ca-certificates gnupg && \
9
+ curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
10
+ apt-get install -y --no-install-recommends nodejs && \
11
+ node -v && npm -v && \
12
  apt-get clean && rm -rf /var/lib/apt/lists/*
13
 
14
  COPY entrypoint.sh /app/
 
31
 
32
  EXPOSE 8000
33
 
34
+ ENTRYPOINT ["/app/entrypoint.sh"]