First commit waiting for Budget Alert
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dos2unix for line-ending fixes
|
||||
RUN apk add --no-cache bash dos2unix
|
||||
|
||||
# Copy everything
|
||||
COPY . .
|
||||
|
||||
# Fix line endings for gradlew
|
||||
RUN dos2unix ./gradlew && chmod +x ./gradlew
|
||||
|
||||
# Clean and run the Gradle app
|
||||
CMD ["./gradlew", "clean", "run", "--no-daemon"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user