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 \