WeatherStation/WebGui/DOCKERFILE
jeanGaston 181b90f822 update docker
add port exposure for webgui
add mariadb to docker compose
2024-01-30 08:31:02 +01:00

18 lines
369 B
Plaintext

# Use the official Python image as a base image
FROM python:3.8-slim
# 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 pip install --no-cache-dir -r ./requirements.py
# Set the entry point
CMD ["python", "Helloworld.py"]