Skip to content

Commit

Permalink
Simplify Dockerfile copy paths.
Browse files Browse the repository at this point in the history
Updated COPY commands in Dockerfiles to use a relative path specific to the current directory. This change ensures cleaner and more accurate file copying during container builds.
  • Loading branch information
Gcolon021 committed Jan 7, 2025
1 parent 87d4ada commit 0e9c346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/pic-sure-hpds-etl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM maven:3.9.4-amazoncorretto-21 AS build
WORKDIR /app

# Copy the entire project into the container
COPY ../../ .
COPY . .

# Build the project and skip tests
RUN mvn clean install -DskipTests
Expand Down
2 changes: 1 addition & 1 deletion docker/pic-sure-hpds/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM maven:3.9.4-amazoncorretto-21 AS build
WORKDIR /app

# Copy the entire project into the container
COPY ../../ .
COPY . .

# Build the project and skip tests
RUN mvn clean install -DskipTests
Expand Down

0 comments on commit 0e9c346

Please sign in to comment.