RayxieGinks commited on
Commit
2019534
·
verified ·
1 Parent(s): 44f9f44

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:22-bookworm-slim
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates && rm -rf /var/lib/apt/lists/*
4
+
5
+ WORKDIR /app
6
+ RUN git clone --depth 1 https://github.com/PISSARAW/GenOSWork.git .
7
+ RUN npm ci
8
+
9
+ ENV NODE_ENV=production
10
+ ENV NEXT_TELEMETRY_DISABLED=1
11
+ ENV PORT=7860
12
+ ENV HOSTNAME=0.0.0.0
13
+
14
+ RUN npm run build
15
+
16
+ EXPOSE 7860
17
+ CMD ["npm", "run", "start"]