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