fix: copy OpenAPI build from build container to final container

fixes: https://github.com/mCaptcha/mCaptcha/issues/59
This commit is contained in:
Aravinth Manivannan 2023-01-17 03:54:54 +05:30
parent c1f6ce3ae2
commit cadc15a7a1
No known key found for this signature in database
GPG Key ID: AD9F0F08E855ED88

View File

@ -38,6 +38,7 @@ COPY --from=cacher /src/target target
#COPY --from=cacher /src/db/db-migrations/target /src/db/db-migrations/target
#COPY --from=cacher /src/utils/cache-bust/target /src/utils/cache-bust/target
COPY --from=frontend /src/static/cache/bundle/ /src/static/cache/bundle/
COPY --from=frontend /src/docs/openapi/dist/ /src/docs/openapi/dist/
RUN cargo --version
RUN make cache-bust
RUN cargo build --release