Skip to content

Commit c5f0ed8

Browse files
authored
Merge pull request #5890 from wileyj/chore/update_dockerfiles
Cleanup dockerignore and fix omission in Dockerfile
2 parents ec00df2 + 4258dd4 commit c5f0ed8

File tree

3 files changed

+2
-47
lines changed

3 files changed

+2
-47
lines changed

.dockerignore

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
11
Dockerfile*
22
target
3-
integration_tests/blockstack-consensus-data/
4-
integration_tests/test-out/
5-
api/data
6-
.git
7-
.venv
83
.dockerignore
9-
testnet/index.html
10-
testnet.log
11-
testnet-logs*
12-
legacy
13-
build-scripts
14-
dist

.github/actions/dockerfiles/Dockerfile.debian-source

Lines changed: 0 additions & 28 deletions
This file was deleted.

Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,12 @@ ARG GIT_BRANCH='No Branch Info'
55
ARG GIT_COMMIT='No Commit Info'
66

77
WORKDIR /src
8-
98
COPY . .
10-
119
RUN mkdir /out
12-
1310
RUN rustup toolchain install stable
1411
RUN cargo build --features monitoring_prom,slog_json --release
15-
16-
RUN cp target/release/stacks-node /out
12+
RUN cp -R target/release/. /out
1713

1814
FROM debian:bookworm-slim
19-
20-
COPY --from=build /out/ /bin/
21-
15+
COPY --from=build /out/stacks-node /out/stacks-signer /out/stacks-inspect /bin/
2216
CMD ["stacks-node", "mainnet"]

0 commit comments

Comments
 (0)