Add Docker workflow and docs #1

Merged
hodlbod merged 3 commits from priyanshu_bharti/vthumbs:master into master 2026-04-07 19:50:24 +00:00
2 changed files with 25 additions and 0 deletions
Showing only changes of commit b4598f0e71 - Show all commits
+6
View File
@@ -0,0 +1,6 @@
.git
.gitea
node_modules
npm-debug.log
README.md
LICENSE
+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"]