This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user