Обновить Dockerfile
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
ceca7a77e5
commit
e032032325
29
Dockerfile
29
Dockerfile
@ -1,17 +1,14 @@
|
||||
FROM python:3.11-slim-bullseye
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install -r requirements.txt --no-cache-dir
|
||||
|
||||
RUN playwright install chromium
|
||||
|
||||
RUN playwright install-deps
|
||||
|
||||
COPY . .
|
||||
|
||||
ENTRYPOINT ["python", "main.py"]
|
||||
|
||||
FROM python:3.11-slim-bullseye
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install -r requirements.txt --no-cache-dir
|
||||
RUN playwright install chromium
|
||||
RUN playwright install-deps
|
||||
|
||||
COPY . .
|
||||
|
||||
ENTRYPOINT ["python", "main.py"]
|
||||
CMD [ "start" ]
|
Loading…
Reference in New Issue
Block a user