reduce docker image size

This commit is contained in:
2022-11-27 01:14:41 +01:00
parent 92a53c0c62
commit dff88c5bb7

View File

@@ -8,8 +8,8 @@ ENV PATH ${POETRY_HOME}/bin:$PATH
# Install Deps
WORKDIR /app
COPY poetry.lock poetry.toml pyproject.toml ./
RUN poetry install
COPY poetry.lock pyproject.toml ./
RUN poetry install --no-cache --without dev --sync
# Copy code
COPY . .