Update app and ignore local artifacts

This commit is contained in:
2026-09-04 12:59:28 +05:30
parent 8120ebb927
commit e6884a148b
56 changed files with 4419 additions and 370 deletions

9
backend/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:22-bookworm-slim
WORKDIR /app
COPY backend/server.mjs ./backend/server.mjs
RUN mkdir -p /app/backend/data && chown -R node:node /app
USER node
ENV NODE_ENV=production
ENV PORT=4000
EXPOSE 4000
CMD ["node", "backend/server.mjs"]