Alex Borisov
22206e07b8
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>
11 lines
249 B
Docker
11 lines
249 B
Docker
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" ] |