diff --git a/docker/test/Dockerfile b/docker/test/Dockerfile index fd9999426..470e065f5 100644 --- a/docker/test/Dockerfile +++ b/docker/test/Dockerfile @@ -67,6 +67,7 @@ RUN yarn install --production=false COPY --from=build-pdfcomprezzor /go/src/pdfcomprezzor.wasm /go/src/wasm_exec.js /usr/src/app/public/pdfcomprezzor/ COPY --from=build-pdfcomprezzor /go/src/pdfcomprezzor.wasm /go/src/wasm_exec.js / +COPY . /usr/src/app COPY ./docker/production/docker.env ./docker-dummy.env RUN set -o allexport && . ./docker-dummy.env && set +o allexport && \ diff --git a/docker/test/docker-compose.yml b/docker/test/docker-compose.yml index 3cef8ab87..eac665df1 100644 --- a/docker/test/docker-compose.yml +++ b/docker/test/docker-compose.yml @@ -65,9 +65,9 @@ services: SPROCKETS_CACHE: /cache BLOG: https://mampf.blog volumes: - - "public:/usr/src/app/public" - ../../:/usr/src/app/ - - ../../coverage:/usr/src/app/coverage + - ../../coverage:/usr/src/app/coverage/ + - "/usr/src/app/public/" depends_on: - db - solr @@ -76,6 +76,3 @@ services: networks: - backend - frontend - -volumes: - public: