mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +08:00
uncomment dockerfile
This commit is contained in:
parent
a5fae9f71a
commit
0f295c046a
26
Dockerfile
26
Dockerfile
@ -14,18 +14,18 @@ ENV PYTHONUNBUFFERED=1 \
|
|||||||
COPY novnc.sh .
|
COPY novnc.sh .
|
||||||
RUN ./novnc.sh
|
RUN ./novnc.sh
|
||||||
|
|
||||||
# RUN apt update && apt upgrade -y
|
RUN apt update && apt upgrade -y
|
||||||
# RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||||
# RUN apt install -y --no-install-recommends --no-install-suggests ./google-chrome-stable_current_amd64.deb && rm ./google-chrome-stable_current_amd64.deb
|
RUN apt install -y --no-install-recommends --no-install-suggests ./google-chrome-stable_current_amd64.deb && rm ./google-chrome-stable_current_amd64.deb
|
||||||
|
|
||||||
# RUN apt install pipx -y
|
RUN apt install pipx -y
|
||||||
# RUN pipx ensurepath
|
RUN pipx ensurepath
|
||||||
# RUN pipx install poetry
|
RUN pipx install poetry
|
||||||
# ENV PATH="/root/.local/bin:$PATH"
|
ENV PATH="/root/.local/bin:$PATH"
|
||||||
# COPY pyproject.toml poetry.lock ./
|
COPY pyproject.toml poetry.lock ./
|
||||||
# RUN poetry install
|
RUN poetry install
|
||||||
|
|
||||||
# COPY . .
|
COPY . .
|
||||||
# RUN . /app/.venv/bin/activate && python fix_nodriver.py
|
RUN . /app/.venv/bin/activate && python fix_nodriver.py
|
||||||
|
ENV DISPLAY=:1.0
|
||||||
# CMD /usr/local/share/desktop-init.sh && . /app/.venv/bin/activate && python main.py
|
CMD /usr/local/share/desktop-init.sh && . /app/.venv/bin/activate && python main.py
|
Loading…
x
Reference in New Issue
Block a user