mirror of
https://github.com/aculix/ticket-monitoring.git
synced 2026-10-27 07:15:51 +00:00
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.
15 lines
329 B
Docker
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"]
|