Don't copy codebase twice in dockerfile
This commit is contained in:
parent
5607664397
commit
076a3a0b44
1 changed files with 0 additions and 4 deletions
|
@ -33,9 +33,6 @@ RUN pip3 install --no-cache-dir --disable-pip-version-check \
|
|||
"pillow-avif-plugin~=1.1.0"
|
||||
RUN apk --no-cache del py3-pip
|
||||
|
||||
COPY ./ /opt/app/
|
||||
RUN rm -rf /opt/app/szurubooru/tests
|
||||
|
||||
|
||||
FROM --platform=$BUILDPLATFORM prereqs as testing
|
||||
WORKDIR /opt/app
|
||||
|
@ -74,7 +71,6 @@ RUN apk --no-cache add \
|
|||
py3-setuptools \
|
||||
py3-waitress
|
||||
|
||||
|
||||
COPY ./ /opt/app/
|
||||
|
||||
RUN mkdir -p /opt/app /data \
|
||||
|
|
Loading…
Reference in a new issue