Browse Source

add macros to Docker build

Co-authored-by: dfunkt <dfunkt@users.noreply.github.com>
pull/5320/head
Stefan Melmuk 3 months ago
parent
commit
c44dfa32ee
No known key found for this signature in database GPG Key ID: 817020C608FE9C09
  1. 1
      .dockerignore
  2. 1
      docker/Dockerfile.alpine
  3. 1
      docker/Dockerfile.debian
  4. 1
      docker/Dockerfile.j2

1
.dockerignore

@ -5,6 +5,7 @@
!.git
!docker/healthcheck.sh
!docker/start.sh
!macros
!migrations
!src

1
docker/Dockerfile.alpine

@ -76,6 +76,7 @@ RUN source /env-cargo && \
# Copies over *only* your manifests and build files
COPY ./Cargo.* ./rust-toolchain.toml ./build.rs ./
COPY ./macros ./macros
ARG CARGO_PROFILE=release

1
docker/Dockerfile.debian

@ -116,6 +116,7 @@ RUN source /env-cargo && \
# Copies over *only* your manifests and build files
COPY ./Cargo.* ./rust-toolchain.toml ./build.rs ./
COPY ./macros ./macros
ARG CARGO_PROFILE=release

1
docker/Dockerfile.j2

@ -143,6 +143,7 @@ RUN source /env-cargo && \
# Copies over *only* your manifests and build files
COPY ./Cargo.* ./rust-toolchain.toml ./build.rs ./
COPY ./macros ./macros
ARG CARGO_PROFILE=release

Loading…
Cancel
Save