Files
IoT-Systems/store/Dockerfile-test
hasslesstech f304314fd9
All checks were successful
Component testing / Hub testing (push) Successful in 24s
Component testing / Store testing (push) Successful in 47s
Component testing / Integration smoke testing (push) Successful in 3m0s
[P] Integrate additional store testing into CI pipeline
2026-03-27 16:38:38 +02:00

15 lines
540 B
Plaintext

# Use the official Python image as the base image
FROM python:latest
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements.txt file and install dependencies
COPY store/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --root-user-action ignore --no-cache-dir pytest httpx
# Copy the entire application into the container
COPY store/. .
# Run the main.py script inside the container when it starts
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0"]
CMD ["./test-entry.sh"]