Severian commited on
Commit
41019e4
·
verified ·
1 Parent(s): 6917a27

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -7
Dockerfile CHANGED
@@ -11,6 +11,8 @@ ENV NODE_VERSION=20.11.0 \
11
  POETRY_VIRTUALENVS_CREATE=false \
12
  POETRY_CACHE_DIR=/cache/poetry
13
 
 
 
14
  # Install system dependencies
15
  RUN apt-get update && apt-get install -y \
16
  curl \
@@ -28,14 +30,8 @@ RUN apt-get update && apt-get install -y \
28
  # Install Poetry
29
  RUN pip install poetry==1.8.4
30
 
31
- # Configure Poetry
32
- ENV POETRY_VERSION=1.8.4 \
33
- POETRY_NO_INTERACTION=1 \
34
- POETRY_VIRTUALENVS_CREATE=false \
35
- POETRY_CACHE_DIR=/cache/poetry
36
-
37
  # Copy dependency files
38
- COPY pyproject.toml poetry.lock ./
39
 
40
  # Install dependencies
41
  RUN poetry install --no-dev --no-root
 
11
  POETRY_VIRTUALENVS_CREATE=false \
12
  POETRY_CACHE_DIR=/cache/poetry
13
 
14
+ WORKDIR /app/api
15
+
16
  # Install system dependencies
17
  RUN apt-get update && apt-get install -y \
18
  curl \
 
30
  # Install Poetry
31
  RUN pip install poetry==1.8.4
32
 
 
 
 
 
 
 
33
  # Copy dependency files
34
+ COPY api/pyproject.toml api/poetry.lock ./
35
 
36
  # Install dependencies
37
  RUN poetry install --no-dev --no-root