Docker cleanup

This commit is contained in:
2025-04-13 13:58:49 -04:00
parent 6b12421e7c
commit f349a2adc0
3 changed files with 3 additions and 19 deletions

View File

@@ -35,8 +35,6 @@ RUN --mount=type=ssh mkdir src && \
COPY src ./src
# If you have other directories like `templates` or `static`, copy them too
COPY .env ./.env
# COPY auth_db.env.docker ./auth_db.env
COPY auth_db.env.docker ./auth_db.env
COPY migrations ./migrations
# << --- SSH MOUNT ADDED HERE --- >>
@@ -65,7 +63,7 @@ COPY --from=builder /usr/src/app/target/release/icarus_auth .
COPY --from=builder /usr/src/app/.env .
# COPY --from=builder /usr/src/app/auth_db.env.docker auth_db.env
# COPY --from=builder /usr/src/app/auth_db.env.docker ./auth_db.env
COPY --from=builder /usr/src/app/auth_db.env .
# COPY --from=builder /usr/src/app/auth_db.env .
COPY --from=builder /usr/src/app/migrations ./migrations
# Expose the port your Axum app listens on (e.g., 3000 or 8000)