switch dockerfile order

This commit is contained in:
felinae98
2022-02-10 16:35:55 +08:00
parent 3d43d47034
commit a19d8c7b0b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,9 +9,9 @@ RUN apt-get update && apt-get install -y xvfb fonts-noto-color-emoji ttf-unifont
libnspr4 libnss3 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \
libxdamage1 libxext6 libxfixes3 libxrandr2 libxshmfence1 \
&& rm -rf /var/lib/apt/lists/*
RUN pip install playwright && playwright install chromium
COPY ./pyproject.toml ./poetry.lock* /app/
RUN poetry install --no-root --no-dev
RUN playwright install chromium
ADD src /app/src
ADD bot.py /app/
ENV HOST=0.0.0.0