Skip to content

Commit 9d7b6ec

Browse files
committed
Fix
1 parent 50e2fb8 commit 9d7b6ec

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,8 @@ vendor/bundle/
5757

5858
## Docker
5959
# Ignore Docker files
60-
Dockerfile
6160
docker-compose.yml
6261
docker-compose.override.yml
63-
**/Dockerfile
6462
**/docker-compose.yml
6563
**/docker-compose.override.yml
6664

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ ENV PATH=/opt/gradle/gradle-7.4.2/bin:$PATH
1111

1212
# Set up Kotlin app build environment
1313
WORKDIR /app
14+
15+
# Explicitly copy gradlew and gradle directory (in case copy context is problematic)
16+
COPY gradlew /app/gradlew
17+
COPY gradle /app/gradle
1418
COPY . /app
1519

1620
# Ensure gradlew is present and executable
17-
RUN ls -l ./gradlew && chmod +x ./gradlew
21+
RUN ls -l /app/gradlew && chmod +x /app/gradlew
1822

1923
# Build Kotlin app
2024
RUN ./gradlew build

0 commit comments

Comments
 (0)