mirror of
https://git.btclock.dev/btclock/btclock_v3.git
synced 2025-02-23 22:46:34 +01:00
15 lines
258 B
Docker
15 lines
258 B
Docker
# Use the official Python 3.9 image as the base
|
|
FROM python:3.9-slim
|
|
|
|
# Set the working directory
|
|
WORKDIR /workspace
|
|
|
|
RUN apt-get update && apt-get install -y git
|
|
|
|
# Install PlatformIO
|
|
RUN pip install platformio
|
|
|
|
WORKDIR /usr/src
|
|
|
|
CMD ["platformio", "run"]
|
|
|