initial commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN if [ -f package-lock.json ]; then npm ci --omit=dev; else npm install --omit=dev; fi
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV NODE_ENV=production \
|
||||
DASHBOARD_HOST=0.0.0.0 \
|
||||
DASHBOARD_PORT=3000
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "run", "dashboard:fastify"]
|
||||
Reference in New Issue
Block a user