mirror of
https://github.com/aculix/ticket-monitoring.git
synced 2026-10-27 15:25:53 +00:00
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.
This commit is contained in:
commit
b70968d259
15 files changed
+1164
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
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"]
|
||||
Reference in new issue
Block a user