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/
|
COPY ./main.py /app/
|
||||||
|
|
||||||
# Install any dependencies
|
# Install any dependencies
|
||||||
RUN pip install --no-cache-dir bluepy.btle
|
RUN pip install --no-cache-dir bluepy
|
||||||
|
|
||||||
# Set the entry point
|
# Set the entry point
|
||||||
CMD ["python", "main.py"]
|
CMD ["python", "main.py"]
|
||||||
@ -8,7 +8,7 @@ WORKDIR /app
|
|||||||
COPY ./Helloworld.py /app/
|
COPY ./Helloworld.py /app/
|
||||||
|
|
||||||
#expose port
|
#expose port
|
||||||
#EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
# Install any dependencies
|
# Install any dependencies
|
||||||
RUN pip install --no-cache-dir Flask==2.1.2
|
RUN pip install --no-cache-dir Flask==2.1.2
|
||||||
|
|||||||
@ -10,6 +10,8 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./WebGui
|
context: ./WebGui
|
||||||
dockerfile: ./DOCKERFILE
|
dockerfile: ./DOCKERFILE
|
||||||
|
port:
|
||||||
|
- '80:5000'
|
||||||
|
|
||||||
# database:
|
# database:
|
||||||
# image: 'mariadb:10.3'
|
# image: 'mariadb:10.3'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user