summaryrefslogtreecommitdiff
path: root/admin-panel/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'admin-panel/Dockerfile')
-rw-r--r--admin-panel/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/admin-panel/Dockerfile b/admin-panel/Dockerfile
new file mode 100644
index 0000000..0e1e27a
--- /dev/null
+++ b/admin-panel/Dockerfile
@@ -0,0 +1,12 @@
+FROM node:22-alpine
+
+RUN apk add --no-cache git openssh-client
+
+WORKDIR /app
+COPY package.json package-lock.json ./
+RUN npm ci --production=false
+COPY . .
+RUN npm run build
+
+EXPOSE 3000
+CMD ["node", "dist/server/index.js"]