Skip to content

Commit db10bb5

Browse files
committed
remove COPY app instruction
1 parent 79fc1f5 commit db10bb5

8 files changed

+0
-16
lines changed

dockerfiles/cpp-23.Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,3 @@ RUN if [ -d "/app/vcpkg_installed" ]; then mv /app/vcpkg_installed /app-cached/b
3838

3939
RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake && cmake --build ./build && sed -i '/^cmake/ s/^/# /' ./your_grep.sh" > /codecrafters-precompile.sh
4040
RUN chmod +x /codecrafters-precompile.sh
41-
42-
# Once the heavy steps are done, we can copy all files back
43-
COPY . /app

dockerfiles/gleam-1.4.Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,3 @@ RUN gleam build
1515
# Cache build directory
1616
RUN mkdir -p /app-cached
1717
RUN mv build /app-cached/build
18-
19-
# Once the heavy steps are done, we can copy all files back
20-
COPY . /app

dockerfiles/kotlin-2.0.Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ COPY --exclude=.git --exclude=README.md . /app
1111

1212
# Cache dependencies
1313
RUN mvn -B package -Ddir=/tmp/codecrafters-build-grep-kotlin
14-
15-
# Once the heavy steps are done, we can copy all files back
16-
COPY . /app

dockerfiles/rust-1.62.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d
1717
RUN chmod +x /codecrafters-precompile.sh
1818

1919
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock"
20-

dockerfiles/rust-1.68.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d
1717
RUN chmod +x /codecrafters-precompile.sh
1818

1919
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock"
20-

dockerfiles/rust-1.70.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d
1717
RUN chmod +x /codecrafters-precompile.sh
1818

1919
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock"
20-

dockerfiles/rust-1.76.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d
1717
RUN chmod +x /codecrafters-precompile.sh
1818

1919
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock"
20-

dockerfiles/rust-1.77.Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,3 @@ RUN echo "cd \${CODECRAFTERS_SUBMISSION_DIR} && cargo build --release --target-d
1616
RUN chmod +x /codecrafters-precompile.sh
1717

1818
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock"
19-
20-
# Once the heavy steps are done, we can copy all files back
21-
COPY . /app

0 commit comments

Comments
 (0)