- Added `priority_rr` algorithm to handle scheduling based on priority and round-robin principles. - Created unit tests for `select()`, `shouldPreempt()`, and `isQuantumExpired()` functions to ensure correct behavior. - Developed integration tests to validate the scheduling logic under various scenarios, including preemption and round-robin execution. - Introduced `useExport` hook for exporting process metrics to CSV format. - Added `useGanttScroll` hook to manage smooth scrolling of the Gantt chart during simulation.
14 lines
357 B
Docker
14 lines
357 B
Docker
# ── Production image ──
|
|
FROM nginx:alpine
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Unpack pre-built Vite output
|
|
COPY dist.tar.gz /usr/share/nginx/html/
|
|
RUN tar -xzf /usr/share/nginx/html/dist.tar.gz --strip-components=1 -C /usr/share/nginx/html \
|
|
&& rm /usr/share/nginx/html/dist.tar.gz
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|