From a17460e0786e72e15f9324fe167d4ef84da5215e Mon Sep 17 00:00:00 2001 From: bomzheg Date: Mon, 29 Jul 2024 23:33:10 +0300 Subject: [PATCH] fixed? --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 58b250ef..a9bcc4db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM python:3.11-buster as builder +FROM python:3.11-buster AS builder ENV VIRTUAL_ENV=/opt/venv ENV CODE_PATH=/code RUN python3 -m venv $VIRTUAL_ENV WORKDIR $CODE_PATH -COPY pyproject.toml ${CODE_PATH}/ -RUN $VIRTUAL_ENV/bin/pip install . +COPY lock.txt ${CODE_PATH}/ +RUN $VIRTUAL_ENV/bin/pip install -r lock.txt FROM python:3.11-slim-buster LABEL maintainer="bomzheg " \