sbrandeis HF staff commited on
Commit
ed56a54
·
verified ·
1 Parent(s): f142560

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
12
+ WORKDIR /app
13
+ COPY --link --chown=1000 ./ /app
14
+ RUN npm i
15
+
16
+ USER 1000
17
+ CMD ["node", "index.js"]