Squashed commit of the following:
All checks were successful
Actions Build Docker Image / Explore-Gitea-Actions (push) Successful in 3m8s
All checks were successful
Actions Build Docker Image / Explore-Gitea-Actions (push) Successful in 3m8s
commit 0426fe2e70
Author: Alex Borisov <79996669747@ya.ru>
Date: Tue Jan 30 18:33:58 2024 +0300
python-actions-test (#1)
Добавлены быстрые действия для сборки образов
Reviewed-on: #1
Co-authored-by: Alex Borisov <79996669747@ya.ru>
Co-committed-by: Alex Borisov <79996669747@ya.ru>
This commit is contained in:
parent
12a582f64e
commit
22206e07b8
@ -1,17 +1,11 @@
|
|||||||
FROM python:3.11-slim-bullseye
|
FROM python:3.11-slim-bullseye
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
RUN pip install -r requirements.txt --no-cache-dir
|
RUN pip install -r requirements.txt --no-cache-dir
|
||||||
|
|
||||||
RUN playwright install chromium
|
RUN playwright install chromium
|
||||||
|
|
||||||
RUN playwright install-deps
|
RUN playwright install-deps
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ENTRYPOINT ["python", "main.py"]
|
ENTRYPOINT ["python", "main.py"]
|
||||||
|
|
||||||
CMD [ "start" ]
|
CMD [ "start" ]
|
Loading…
Reference in New Issue
Block a user