sharenet/frontend/Dockerfile.test-node
continuist eb6e373981
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
Change to using Forgejo Container Registry
2025-08-30 19:38:54 -04:00

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"]