Skip to content

Commit

Permalink
changed: replaced ADD by COPY in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaRaeschThreedy committed Aug 22, 2023
1 parent 9c06181 commit fa9e16e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.movies-db-service
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM docker.io/ubuntu:22.04

RUN apt update && apt upgrade -y && apt install -y curl

ADD movies-db-service/target/release/movies-db-cli /opt/movies-db/bin/movies-db-cli
ADD docker/start_movie_service.sh /opt/movies-db/bin/start_movie_service.sh
COPY movies-db-service/target/release/movies-db-cli /opt/movies-db/bin/movies-db-cli
COPY docker/start_movie_service.sh /opt/movies-db/bin/start_movie_service.sh

RUN chown -R root:root /opt/movies-db
RUN chmod +x /opt/movies-db/bin/movies-db-cli
Expand Down

0 comments on commit fa9e16e

Please sign in to comment.