Files
IoT-Systems/hub/Dockerfile-test
hasslesstech d100e7d053
Some checks failed
Hub component testing / hub-test (push) Failing after 2s
[P] Add CI for updated Hub component part
2026-03-23 15:20:35 +02:00

13 lines
418 B
Plaintext

# Use the official Python image as the base image
FROM python:3.9-slim
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements.txt file and install dependencies
COPY hub/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the entire application into the container
COPY hub/. .
# Run the main.py script inside the container when it starts
CMD ["./test-entry.sh"]