reduce docker image size

This commit is contained in:
cupcakearmy 2022-11-27 01:14:41 +01:00
parent 92a53c0c62
commit dff88c5bb7
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F

View File

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