Files
IoT-Systems/MapView/Dockerfile-test
hasslesstech a672f48f7c
Some checks failed
Component testing / Hub testing (push) Successful in 19s
Component testing / Store testing (push) Successful in 39s
Component testing / MapView testing (push) Failing after 1m41s
Component testing / Integration smoke testing (push) Has been skipped
[P] Integrate MapView testing into CI pipeline
2026-03-31 11:44:41 +03:00

16 lines
579 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 MapView/requirements.txt .
RUN sed -i 's/==.*//' requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --root-user-action ignore --no-cache-dir unittest
# Copy the entire application into the container
COPY MapView/. .
# Run the main.py script inside the container when it starts
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0"]
CMD ["./test-entry.sh"]