Update dockerfile
Add port for webgui
This commit is contained in:
parent
ef9b322ba3
commit
4c8b390756
@ -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"]
|
||||
@ -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
|
||||
|
||||
@ -10,6 +10,8 @@ services:
|
||||
build:
|
||||
context: ./WebGui
|
||||
dockerfile: ./DOCKERFILE
|
||||
port:
|
||||
- '80:5000'
|
||||
|
||||
# database:
|
||||
# image: 'mariadb:10.3'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user