Files
Mo-Misinformation-Counter/Dockerfile
2026-01-10 23:49:26 +00:00

17 lines
384 B
Docker

FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY . .
# Initialize DB during build or rely on start
# We'll just ensure the directory is writable if needed, but sqlite file is created at runtime if not present.
# However, if we want to risk it, we can pre-create it. But better let the app handle it.
EXPOSE 3000
CMD ["node", "server.js"]