Skip to content

Commit

Permalink
Dockerfile.pt-example - delete build or build-debug folders
Browse files Browse the repository at this point in the history
This causes an issue, if you copy them over with COPY . . and you have
made a local build. It will then have existing fiels produced against
your local directory structure, which will not match what Docker based
build needs.
  • Loading branch information
JanneKiiskila committed Jan 12, 2024
1 parent 76def6d commit b6760b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.pt-example
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN apt-get update && \

COPY . .

RUN rm -rf build build-debug
RUN make build-pt-example-debug

CMD [ "./build-debug/bin/pt-example", "-n", "docker-pt-example" ]

0 comments on commit b6760b1

Please sign in to comment.