This commit is contained in:
parent
b12db9af0e
commit
3b5a6973ef
|
@ -8,13 +8,13 @@ RUN apk update && \
|
|||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy just the dependency manifests first
|
||||
COPY poetry.lock pyproject.toml /app/
|
||||
|
||||
# Install dependencies
|
||||
RUN poetry config virtualenvs.create false && \
|
||||
poetry install --no-dev
|
||||
|
||||
# Copy just the dependency manifests first
|
||||
COPY poetry.lock pyproject.toml /app/
|
||||
|
||||
# Copy the rest of the application
|
||||
COPY . /app
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user