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
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 . .