testing new ci/cd
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
FROM eclipse-temurin:21-jre-jammy
|
||||
WORKDIR /app
|
||||
COPY app.jar app.jar
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
|
||||
@@ -17,7 +17,7 @@ public class FirebaseConfig {
|
||||
@Bean
|
||||
public FirebaseApp firebaseApp() throws IOException {
|
||||
GoogleCredentials credentials = GoogleCredentials
|
||||
.fromStream(new ClassPathResource("etf-oglasi-firebase.json").getInputStream())
|
||||
.fromStream(new ClassPathResource("firebase.json").getInputStream())
|
||||
.createScoped(List.of("https://www.googleapis.com/auth/firebase.messaging"));
|
||||
|
||||
FirebaseOptions options = FirebaseOptions.builder()
|
||||
|
||||
Reference in New Issue
Block a user