Skip to content

Commit

Permalink
build: changed config
Browse files Browse the repository at this point in the history
  • Loading branch information
m62624 committed Aug 16, 2023
1 parent 1ef29ae commit 97b7c9e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Base image
FROM rust:latest
LABEL org.opencontainers.image.source="https://github.com/m62624/flexible_inspect"
WORKDIR /main_project
# System libs
RUN apt-get update && apt-get install -y libffi-dev \
Expand Down Expand Up @@ -44,13 +43,12 @@ COPY $PROJECT_FOLDER_PY/Cargo.toml $PROJECT_FOLDER_PY/Cargo.toml
COPY $PROJECT_FOLDER_PY/pyproject.toml $PROJECT_FOLDER_PY/pyproject.toml
COPY $PROJECT_FOLDER_JS/Cargo.toml $PROJECT_FOLDER_JS/Cargo.toml

# show files
RUN ls -R
# Get dependency cache for building other targets (sdk.headers (windows))
RUN make all-python
# delete dummy projects
RUN rm -rf *

# Copy project
COPY . .
LABEL org.opencontainers.image.source="https://github.com/m62624/flexible_inspect"
CMD ["echo","Welcome to the project build :D"]

0 comments on commit 97b7c9e

Please sign in to comment.