This commit is contained in:
Valeria Fadeeva 2025-07-26 21:39:25 +05:00
parent e87c04969b
commit 17f7db4ea4
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ WORKDIR /app
# Export poetry dependencies to file
RUN pip install --upgrade pip
RUN pip install poetry poetry-plugin-export
RUN poetry lock
# RUN poetry lock
RUN poetry self update
COPY pyproject.toml ./
RUN poetry export --without-hashes --format requirements.txt --output /app/requirements.txt
@ -25,8 +25,8 @@ WORKDIR /app
# Copy requirements from build stage, and install them
COPY --from=build /app/requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir "fastapi[standard]"
RUN pip install --no-cache-dir -r requirements.txt
COPY . .

View File

@ -2,7 +2,7 @@ services:
site:
container_name: LeraFoxQueen
build: .
working_dir: /code/app
working_dir: /app
image: lerafoxqueen
ports:
- "8001:8001"