Commit af8a5cb
committed
Fix Dockerfile paths to match updated folder structure
The `COPY` commands were updated to remove the "src/" prefix, as the project folders (e.g., `GymMgmt.Api`, `GymMgmt.Application`) are located at the root level. This ensures the correct files are copied during the build process.
The `RUN dotnet restore` command was adjusted to reflect the new path for the `GymMgmt.Api.csproj` file, removing the "src/" prefix.
The `WORKDIR` for the build and publish step was updated from `/src/src/GymMgmt.Api` to `/src/GymMgmt.Api`, eliminating the redundant "src/" directory.
These changes resolve path mismatches, ensuring the Docker build process runs reliably.1 parent 321485f commit af8a5cb
1 file changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | | - | |
| 17 | + | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
0 commit comments