Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
created root devcontainer. moved backend docker-compose and localstac…
Browse files Browse the repository at this point in the history
…k-setup to root devcontainer. moved .github to root. removed js from gitignore. updated paths for root dockerfile.
  • Loading branch information
Kai Mansfield committed Sep 22, 2023
1 parent 8d07983 commit f06926c
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 31 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 0 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,3 @@
# Environment Variables
.env

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

/.vscode
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": true
}
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

RUN apt-get update \
&& apt-get install -y \
libopencv-dev clang libclang-dev
libopencv-dev clang libclang-dev

# Build dependencies
COPY Cargo.toml Cargo.lock ./
Expand Down Expand Up @@ -61,32 +61,32 @@ RUN touch chimp_chomp/src/lib.rs \
# Collate dynamically linked shared objects for chimp_chomp
RUN mkdir /chimp_chomp_libraries \
&& cp \
$(ldd /app/target/release/chimp_chomp | grep -o '/.*\.so\S*') \
/app/target/release/libonnxruntime.so.* \
/chimp_chomp_libraries
$(ldd /app/target/release/chimp_chomp | grep -o '/.*\.so\S*') \
/app/target/release/libonnxruntime.so.* \
/chimp_chomp_libraries

FROM gcr.io/distroless/cc as chimp_chomp

COPY chimp_chomp/chimp.onnx /chimp.onnx
COPY --from=build /chimp_chomp_libraries/* /lib
COPY --from=build /app/target/release/chimp_chomp /chimp_chomp

ENTRYPOINT ["./chimp_chomp"]
ENTRYPOINT ["./backend/chimp_chomp"]

FROM gcr.io/distroless/cc as pin_packing

COPY --from=build /app/target/release/pin_packing /pin_packing

ENTRYPOINT ["./pin_packing"]
ENTRYPOINT ["./backend/pin_packing"]

FROM gcr.io/distroless/cc as soakdb_sync

COPY --from=build /app/target/release/soakdb_sync /soakdb_sync

ENTRYPOINT ["./soakdb_sync"]
ENTRYPOINT ["./backend/soakdb_sync"]

FROM gcr.io/distroless/cc as targeting

COPY --from=build /app/target/release/targeting /targeting

ENTRYPOINT ["./targeting"]
ENTRYPOINT ["./backend/targeting"]
File renamed without changes.

0 comments on commit f06926c

Please sign in to comment.