Update dockerfile

Add port for webgui
This commit is contained in:
jeanGaston 2024-01-30 09:09:22 +01:00
parent ef9b322ba3
commit 4c8b390756
3 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,7 @@ WORKDIR /app
COPY ./main.py /app/
# Install any dependencies
RUN pip install --no-cache-dir bluepy.btle
RUN pip install --no-cache-dir bluepy
# Set the entry point
CMD ["python", "main.py"]

View File

@ -8,7 +8,7 @@ WORKDIR /app
COPY ./Helloworld.py /app/
#expose port
#EXPOSE 5000
EXPOSE 5000
# Install any dependencies
RUN pip install --no-cache-dir Flask==2.1.2

View File

@ -10,6 +10,8 @@ services:
build:
context: ./WebGui
dockerfile: ./DOCKERFILE
port:
- '80:5000'
# database:
# image: 'mariadb:10.3'