WeatherStation/WebGui/DOCKERFILE
2024-01-30 09:38:53 +01:00

18 lines
360 B
Plaintext

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