sharenet/frontend/Dockerfile.test-node
continuist ab1d377b2d
Some checks are pending
CI/CD Pipeline (Fully Isolated DinD) / Run Tests (DinD) (push) Waiting to run
CI/CD Pipeline (Fully Isolated DinD) / Build and Push Docker Images (DinD) (push) Blocked by required conditions
CI/CD Pipeline (Fully Isolated DinD) / Deploy to Production (push) Blocked by required conditions
Use arguments with Dockerfiles
2025-07-12 14:51:52 -04:00

15 lines
No EOL
382 B
Text

# Node.js testing environment for CI/CD
ARG CI_HOST=localhost
ARG APP_NAME=sharenet
FROM ${CI_HOST}:443/${APP_NAME}/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"]