feat: add service window component and related functionality
- Introduced ServiceWindow component to display the last departure today and the first tomorrow. - Implemented cancellation notice parsing to handle route cancellations effectively. - Enhanced departure display logic to include cancellation alerts and status updates. - Created information blocks for displaying service information, weather, and QR codes. - Added tests for departure features, information handling, and service window functionality. - Updated fixtures for testing various scenarios including cancellations and long wait times.
This commit is contained in:
@@ -12,7 +12,7 @@ COPY package*.json ./
|
||||
RUN npm ci --omit=dev --no-audit --no-fund
|
||||
COPY --from=build /app/dist ./dist
|
||||
COPY server ./server
|
||||
COPY --from=build /app/src/lib/timetable.mjs /app/src/lib/weather.mjs ./src/lib/
|
||||
COPY --from=build /app/src/lib/timetable.mjs /app/src/lib/weather.mjs /app/src/lib/cancellations.mjs ./src/lib/
|
||||
RUN node --input-type=module -e "await import('./server/index.mjs')"
|
||||
USER node
|
||||
EXPOSE 5180
|
||||
|
||||
Reference in New Issue
Block a user