mirror of
https://github.com/Xevion/banner.git
synced 2025-12-05 23:14:20 -06:00
build(docker): copy migrations directory to build context
Ensures database migration files are available during the Docker build process.
This commit is contained in:
@@ -59,6 +59,7 @@ RUN cargo build --release
|
||||
# Copy source code
|
||||
RUN rm src/*.rs
|
||||
COPY ./src ./src/
|
||||
COPY ./migrations ./migrations/
|
||||
|
||||
# Copy built frontend assets
|
||||
COPY --from=frontend-builder /app/dist ./web/dist
|
||||
|
||||
Reference in New Issue
Block a user