added chromium and new bot tokens
This commit is contained in:
@ -76,11 +76,13 @@ EXPOSE 8080 8081
|
||||
RUN apk add --no-cache python3 py3-pip
|
||||
# If you need Python to be the default version, make a symbolic link to python3
|
||||
RUN if [ ! -e /usr/bin/python ]; then ln -sf python3 /usr/bin/python; fi
|
||||
# Ensure pip is up to date
|
||||
#RUN python -m ensurepip --upgrade
|
||||
|
||||
# Install Chromium and Chromium WebDriver # comment to reduce the deployment image size
|
||||
RUN apk add --no-cache chromium chromium-chromedriver
|
||||
|
||||
# Create a virtual environment and activate it
|
||||
RUN python3 -m venv /venv
|
||||
RUN . /venv/bin/activate && pip install -r agent-py-bot/requirements.txt
|
||||
RUN . /venv/bin/activate && pip install --upgrade pip && pip install -r agent-py-bot/requirements.txt
|
||||
|
||||
#RUN chown -R node /app
|
||||
#USER node
|
||||
|
Reference in New Issue
Block a user