Files
ulve a18e2a2455 Add /shouldibeworking endpoint, container timezone, and PowerShell CLI tracker
Ports work-time rules to the server for external polling, sets the
container TZ so schedule math matches Europe/Stockholm, and adds a
terminal-based progress tracker mirroring the web app.
2026-09-13 10:48:48 +02:00

18 lines
251 B
Docker

FROM node:22-alpine
RUN apk add --no-cache tzdata
ENV TZ=Europe/Stockholm
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install --omit=dev
COPY server.js ./
COPY public ./public
ENV PORT=3000
EXPOSE 3000
CMD ["node", "server.js"]