update docker
add port exposure for webgui add mariadb to docker compose
This commit is contained in:
+4
-1
@@ -7,8 +7,11 @@ 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 Flask==2.1.2
|
||||
RUN pip install --no-cache-dir -r ./requirements.py
|
||||
|
||||
# Set the entry point
|
||||
CMD ["python", "Helloworld.py"]
|
||||
|
||||
Reference in New Issue
Block a user