WeatherStation/DataScraper/DOCKERFILE
jeanGaston 51b2fd16de update
Change docker image for bullseye
2024-01-30 09:29:48 +01:00

14 lines
326 B
Plaintext

# Use the official Python image as a base image
FROM python:3.11-slim-bullseye
# Set the working directory in the container
WORKDIR /app
# Copy the script1.py and any other necessary files
COPY ./main.py /app/
# Install any dependencies
RUN pip install --no-cache-dir bluepy
# Set the entry point
CMD ["python", "main.py"]