forked from damiafuentes/DJITelloPy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 857 Bytes
/
Dockerfile
File metadata and controls
24 lines (17 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Use an official Python runtime as a parent image - https://hub.docker.com/layers/library/python/3.9.19-slim-bullseye/images/sha256-76536676b48862b2f37d39cf6849b01f322eaa84d80fec3c354f24236025414e?context=explore
FROM python:3.9.19-slim-bullseye
# python:3.8-slim
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
# Install the required system libraries
RUN apt-get update && \
apt-get install -y libgl1-mesa-glx libglib2.0-0 && \
rm -rf /var/lib/apt/lists/*
# Install any needed packages specified in requirements.txt
RUN pip install -r requirements-examples.txt
#RUN pip install djitellopy==1.5 opencv-python==4.4.0.46 pygame==2.0.1 numpy==1.26.0
# Run your Python script when the container launches
#CMD ["python", "your_script.py"]
#docker build -t djitellopy .