Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
archeoss committed Nov 13, 2023
1 parent 45af124 commit ea5eff8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dockerfiles/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,19 @@ RUN echo "$(case "$BUILD_PROFILE" in\
(*) echo "$BUILD_PROFILE";;\
esac)" >> ./build_profile_dir

RUN mkdir -p backend/src frontend cli/src
RUN mkdir -p backend/src frontend cli/src utils/src
RUN mkdir target
COPY Cargo.toml Cargo.toml
COPY cli/Cargo.toml cli/Cargo.toml
COPY backend/Cargo.toml backend/Cargo.toml
COPY utils/Cargo.toml utils/Cargo.toml
COPY frontend/Cargo.toml frontend/Cargo.toml
COPY .cargo .cargo
RUN echo "fn main() {println!(\"if you see this, the build broke\")}" > backend/src/lib.rs \
&& echo "fn main() {println!(\"if you see this, the build broke\")}" > backend/src/main.rs \
&& echo "fn main() {println!(\"if you see this, the build broke\")}" > frontend/build.rs \
&& echo "fn main() {println!(\"if you see this, the build broke\")}" > cli/src/lib.rs \
&& echo "fn main() {println!(\"if you see this, the build broke\")}" > utils/src/lib.rs \
&& echo "fn main() {println!(\"if you see this, the build broke\")}" > build.rs \
&& cargo build-backend --profile=$BUILD_PROFILE --target=$BUILD_TARGET

Expand Down

0 comments on commit ea5eff8

Please sign in to comment.