mirror of
https://github.com/Xevion/banner.git
synced 2025-12-06 17:14:25 -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
|
# Copy source code
|
||||||
RUN rm src/*.rs
|
RUN rm src/*.rs
|
||||||
COPY ./src ./src/
|
COPY ./src ./src/
|
||||||
|
COPY ./migrations ./migrations/
|
||||||
|
|
||||||
# Copy built frontend assets
|
# Copy built frontend assets
|
||||||
COPY --from=frontend-builder /app/dist ./web/dist
|
COPY --from=frontend-builder /app/dist ./web/dist
|
||||||
|
|||||||
Reference in New Issue
Block a user