Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
cat > .dockerignore << 'EOF'
# Build artifacts - these are HUGE and not needed
target/
**/target/

# Git
.git/
.gitignore

# IDE files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Node modules (if any)
node_modules/
**/node_modules/

# Documentation
*.md
docs/

# CI/CD
.github/
.gitlab/

# Logs and temp files
*.log
*.tmp
*.temp

# Docker files
Dockerfile*
.dockerignore

EOF
5 changes: 3 additions & 2 deletions chains/ideal-network/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM paritytech/ci-linux:production as build
FROM paritytech/ci-linux:production AS build

WORKDIR /code
COPY . .
Expand All @@ -8,8 +8,9 @@ COPY . .
RUN rustup toolchain uninstall nightly
RUN rustup toolchain install nightly
RUN rustup target add wasm32-unknown-unknown --toolchain nightly-x86_64-unknown-linux-gnu
RUN rustup target add wasm32v1-none --toolchain nightly-x86_64-unknown-linux-gnu
RUN rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
RUN cargo +nightly build --release
RUN cargo +nightly build -p idn-node --release

FROM ubuntu:22.04
WORKDIR /node
Expand Down
Loading