Add Dockerfile for PHP+Node CI image and build it locally
API CI/CD / Validate (composer + pint) (push) Failing after 2s
API CI/CD / Test (PHPUnit) (push) Failing after 2s
API CI/CD / Build frontend assets (push) Failing after 29s
API CI/CD / Security audit (push) Failing after 1s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Failing after 2s
API CI/CD / Test (PHPUnit) (push) Failing after 2s
API CI/CD / Build frontend assets (push) Failing after 29s
API CI/CD / Security audit (push) Failing after 1s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM mcr.microsoft.com/devcontainers/php:8.3
|
||||
|
||||
# Install Node.js for actions/checkout@v4 post-step compatibility
|
||||
# This is a Node.js 20 action and its post-step runs inside the container
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends nodejs && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Verify node is available (required for JavaScript actions via act)
|
||||
RUN node --version
|
||||
Reference in New Issue
Block a user