Don't copy codebase twice in dockerfile

This commit is contained in:
Deka Jello 2024-04-18 11:35:04 -05:00
parent 5607664397
commit 076a3a0b44

View file

@ -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 \