Files
ticket-monitoring/Dockerfile
T
Aculix Technologies b70968d259 Initial commit
Watches district.in showtimes and sends a max-priority phone notification the
moment tickets for a given movie, date, format and cinema go on sale.
2026-08-14 14:31:28 +05:30

15 lines
329 B
Docker

FROM node:22-alpine
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --omit=dev
COPY src/ src/
ENV STATE_PATH=/data/state.json
VOLUME /data
EXPOSE 8080
# --env-file-if-exists so the container works with plain env vars when no .env is mounted.
CMD ["node", "--env-file-if-exists=.env", "src/index.js", "--loop"]