xianbao commited on
Commit
d463281
·
verified ·
1 Parent(s): 3cecfce

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:19-slim
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y \
5
+ bash \
6
+ git git-lfs \
7
+ wget curl procps \
8
+ htop vim nano && \
9
+ rm -rf /var/lib/apt/lists/*
10
+
11
+ WORKDIR /app
12
+ COPY --link --chown=1000 ./ /app
13
+ RUN npm ci
14
+
15
+ CMD ["node", "index.mjs"]