fix: downgrade Node.js version to 16 in Dockerfile for compatibility
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 4m14s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 4m14s
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Multi-stage build for Pa11y Dashboard
|
# Multi-stage build for Pa11y Dashboard
|
||||||
FROM node:18-bullseye-slim as builder
|
FROM node:16-bullseye-slim as builder
|
||||||
|
|
||||||
# Install system dependencies for Chrome
|
# Install system dependencies for Chrome
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
@@ -55,7 +55,7 @@ RUN npm install
|
|||||||
# make less && make uglify
|
# make less && make uglify
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM node:18-bullseye-slim
|
FROM node:16-bullseye-slim
|
||||||
|
|
||||||
# Install runtime dependencies for Chrome
|
# Install runtime dependencies for Chrome
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
|
Reference in New Issue
Block a user