From 3e9aabac5227468101a84c9606223866c55770e4 Mon Sep 17 00:00:00 2001 From: Ryan Hamilton Date: Thu, 11 Sep 2025 12:20:40 -0500 Subject: [PATCH] fix: update pa11y version to 4.3.1 and clean up Dockerfile comments --- Dockerfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index a8f0815..0baca82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,13 +44,15 @@ RUN apt-get update && apt-get install -y \ WORKDIR /app # Clone pa11y-dashboard repository -ARG PA11Y_VERSION=4.2.0 +ARG PA11Y_VERSION=4.3.1 RUN git clone https://github.com/pa11y/pa11y-dashboard.git . && \ git checkout ${PA11Y_VERSION} # Install dependencies and build -RUN npm install && \ - make less && make uglify +RUN npm install +# # Install dependencies and build +# RUN npm install && \ +# make less && make uglify # Production stage FROM node:18-bullseye-slim @@ -92,8 +94,8 @@ RUN apt-get update && apt-get install -y \ wget \ && rm -rf /var/lib/apt/lists/* -# Create app user -RUN groupadd -r pa11y && useradd -r -g pa11y pa11y +# # Create app user +# RUN groupadd -r pa11y && useradd -r -g pa11y pa11y # Set working directory WORKDIR /app @@ -107,9 +109,9 @@ COPY --chown=pa11y:pa11y production.json /app/config/production.json # # Switch to non-root user # USER pa11y -# Expose ports -EXPOSE 4000 -EXPOSE 3000 +# # Expose ports +# EXPOSE 4000 +# EXPOSE 3000 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \