Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auth-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Build and Push Docker Image
uses: docker/build-push-action@v6
with:
context: ./auth-service
context: .
file: ./auth-service/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
5 changes: 3 additions & 2 deletions auth-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ FROM eclipse-temurin:21-jre

WORKDIR /app

COPY target/*.jar app.jar
COPY auth-service/target/*.jar app.jar
COPY database/migrations /app/database/migrations

EXPOSE 8082

ENTRYPOINT ["java", "-jar", "app.jar"]
ENTRYPOINT ["java","-jar","app.jar"]
1 change: 1 addition & 0 deletions auth-service/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spring:
flyway:
enabled: true
baseline-on-migrate: true
locations: filesystem:/app/database/migrations

mail:
host: flowforge-mailpit
Expand Down
Loading