start webui
This commit is contained in:
@@ -8,13 +8,10 @@ WORKDIR /opt/app
|
||||
COPY . /opt/app/
|
||||
|
||||
# Install any needed packages specified in requirements.txt
|
||||
RUN pip install --no-cache-dir Flask requests python-dotenv beautifulsoup4
|
||||
RUN pip install --no-cache-dir Flask requests python-dotenv beautifulsoup4 gunicorn
|
||||
|
||||
# Make port 8182 available to the world outside this container
|
||||
EXPOSE 8182
|
||||
|
||||
# Define environment variable
|
||||
ENV FLASK_APP=metaproxy.py
|
||||
|
||||
# Run app.py when the container launches
|
||||
CMD ["flask", "run", "--host=0.0.0.0", "--port=8182"]
|
||||
# Run Gunicorn
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:8182", "app:app"]
|
||||
|
||||
Reference in New Issue
Block a user