Add Dockerfile setup

This commit is contained in:
2026-04-08 00:17:13 +05:30
parent b431711e1c
commit b4598f0e71
2 changed files with 25 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM node:20-alpine
WORKDIR /app
ENV NODE_ENV=production
ENV PORT=3100
RUN apk add --no-cache ffmpeg
COPY package*.json ./
RUN npm ci --omit=dev && npm cache clean --force
COPY index.js ./
USER node
EXPOSE 3100
CMD ["npm", "start"]