Spaces:
Paused
Paused
Create Dockerfile
Browse files- 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 |
+
RUN useradd -m -u 1000 user
|
12 |
+
|
13 |
+
WORKDIR /app
|
14 |
+
COPY --link --chown=1000 ./ /app
|
15 |
+
RUN npm ci
|
16 |
+
|
17 |
+
CMD ["node", "index.js"]
|