tfrere commited on
Commit
01e5b7c
·
1 Parent(s): 1dea559
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. pyproject.toml +1 -0
Dockerfile CHANGED
@@ -14,11 +14,11 @@ RUN apt-get update && apt-get install -y \
14
  && pip install poetry
15
 
16
  # Copy poetry configuration and README
17
- COPY pyproject.toml poetry.lock* README.md ./
18
 
19
  # Install Python dependencies using Poetry
20
  RUN poetry config virtualenvs.create false \
21
- && poetry install --no-interaction --no-ansi --only main
22
 
23
  # Install Playwright browsers
24
  RUN playwright install chromium && \
 
14
  && pip install poetry
15
 
16
  # Copy poetry configuration and README
17
+ COPY pyproject.toml poetry.lock* README.md* ./
18
 
19
  # Install Python dependencies using Poetry
20
  RUN poetry config virtualenvs.create false \
21
+ && poetry install --no-interaction --no-ansi --only main --no-root
22
 
23
  # Install Playwright browsers
24
  RUN playwright install chromium && \
pyproject.toml CHANGED
@@ -3,6 +3,7 @@ name = "minimal-browser-screenshot"
3
  version = "0.1.0"
4
  description = "Application qui prend des captures d'écran de sites web via un navigateur"
5
  authors = ["HuggingFace Team"]
 
6
 
7
  [tool.poetry.dependencies]
8
  python = "^3.10"
 
3
  version = "0.1.0"
4
  description = "Application qui prend des captures d'écran de sites web via un navigateur"
5
  authors = ["HuggingFace Team"]
6
+ package-mode = false
7
 
8
  [tool.poetry.dependencies]
9
  python = "^3.10"