15 lines
486 B
Plaintext
15 lines
486 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 apt update && apt install -y libgl-dev libsdl1.2-dev
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
RUN pip install --root-user-action ignore --no-cache-dir python-unittest kivy[base] pygame
|
|
|
|
CMD ["./test-entry.sh"]
|