mirror of
https://github.com/cupcakearmy/glyphance.git
synced 2024-12-22 08:06:29 +00:00
reduce docker image size
This commit is contained in:
parent
92a53c0c62
commit
dff88c5bb7
@ -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 . .
|
||||
|
Loading…
Reference in New Issue
Block a user