Some checks are pending
CI/CD Pipeline (Forgejo Container Registry) / Run Tests (DinD) (push) Waiting to run
CI/CD Pipeline (Forgejo Container Registry) / Build and Push Docker Images (DinD) (push) Blocked by required conditions
CI/CD Pipeline (Forgejo Container Registry) / Deploy to Production (push) Blocked by required conditions
15 lines
No EOL
396 B
Text
15 lines
No EOL
396 B
Text
# Node.js testing environment for CI/CD
|
|
ARG REGISTRY_HOST=localhost
|
|
ARG OWNER_REPO=owner/repo
|
|
FROM ${REGISTRY_HOST}/${OWNER_REPO}/node:20-slim
|
|
|
|
# Install additional tools needed for testing
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Set working directory
|
|
WORKDIR /workspace/frontend
|
|
|
|
# Keep container running for testing
|
|
CMD ["sleep", "infinity"] |