feat: enhance Playwright E2E tests for instructor and student flows and optimize Docker build contexts.
This commit is contained in:
1 parent
7a0a42ed25
commit
d3a019541d
15 files changed
+318
-73
No files matched your search
@@ -1,7 +1,10 @@
|
||||
# Build stage for Rust CMS
|
||||
FROM rustlang/rust:nightly AS rust-builder
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
# Copy only necessary files for Rust build to optimize cache
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY services ./services
|
||||
COPY shared ./shared
|
||||
RUN apt-get update && apt-get install -y pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*
|
||||
RUN cargo build --release -p cms-service
|
||||
|
||||
|
||||
Reference in new issue
Block a user