Sign inSign up

codegeekdev/pa11y-dashboard

By codegeekdev

•Updated almost 3 years ago

Image
0

477

codegeekdev/pa11y-dashboard repository overview

⁠Quick reference

This image is created for CodeGeek-specific internal applications. It's to be used by cg_theme_v1 projects in order to 'lock in' the node build packages used in these older projects. The image supports both amd64 and arm64 platforms.

  • Maintained by:
    CodeGeek⁠, a Fort Collins, Colorado company specializing in custom website design and development.

⁠What is this image

This image is based on node 14. It installs all of the necessary packages and node packages to get the pa11y-dashboard running. The dashboard is setup to connect to a db container running mongo:4.4 on the same docker network on port 27017. The connection string is:

mongodb://db:27017

⁠How To Use This Image

  1. Create an empty folder named pa11y-dashboard
mkdir pa11y-dashboard
  1. From your command line, cd into the new folder
cd pa11y-dashboard
  1. Use the proj tool to install the docker-compose.yml file and proj tooling configurations
proj install --name pa11y-dashboard --type pa11y-dashboard
  1. Start the project to pull and build all of the docker images
proj start
  1. Open the dashboard in your browser
proj open

⁠This Image is Built with the Following Dockerfile

ARG IMAGE=node
ARG VERSION=14

FROM ${IMAGE}:${VERSION}

ARG NAME

RUN apt-get update && \
    apt-get install -y libnss3 libgconf-2-4 ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils chromium

RUN useradd -ms /bin/bash pa11y

USER pa11y
WORKDIR /pa11y-dashboard

# Copy package.json and yarn.lock if it exists
COPY . /pa11y-dashboard/

ENV PATH="/node_modules/.bin:$PATH"
ENV PROJECTNAME=${NAME}

# Install the codegeek theme
RUN npm install

Tag summary

Content type

Image

Digest

sha256:9da0493b7…

Size

706.5 MB

Last updated

almost 3 years ago

docker pull codegeekdev/pa11y-dashboard