File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,8 @@ vendor/bundle/
57
57
58
58
# # Docker
59
59
# Ignore Docker files
60
- Dockerfile
61
60
docker-compose.yml
62
61
docker-compose.override.yml
63
- ** /Dockerfile
64
62
** /docker-compose.yml
65
63
** /docker-compose.override.yml
66
64
Original file line number Diff line number Diff line change @@ -11,10 +11,14 @@ ENV PATH=/opt/gradle/gradle-7.4.2/bin:$PATH
11
11
12
12
# Set up Kotlin app build environment
13
13
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
14
18
COPY . /app
15
19
16
20
# Ensure gradlew is present and executable
17
- RUN ls -l ./ gradlew && chmod +x . /gradlew
21
+ RUN ls -l /app/ gradlew && chmod +x /app /gradlew
18
22
19
23
# Build Kotlin app
20
24
RUN ./gradlew build
You can’t perform that action at this time.
0 commit comments