Skip to content

Commit 48a4277

Browse files
committed
fix: include command manifest in docker rust build
1 parent 2da90fc commit 48a4277

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Multi-stage build for poor-cli
2-
FROM rust:1-slim-bookworm as rust-builder
2+
FROM rust:1-slim-bookworm AS rust-builder
33

44
WORKDIR /src
55
COPY poor-cli-tui ./poor-cli-tui
6-
RUN cargo build --manifest-path poor-cli-tui/Cargo.toml --release
6+
COPY poor_cli/command_manifest.json ./poor_cli/command_manifest.json
7+
RUN cargo build --manifest-path poor-cli-tui/Cargo.toml --release --locked
78

8-
FROM python:3.11-slim as builder
9+
FROM python:3.11-slim AS builder
910

1011
# Set working directory
1112
WORKDIR /app

0 commit comments

Comments
 (0)