Skip to content

Commit

Permalink
build: recursively chmod target directory
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Jun 30, 2023
1 parent 42e1b7f commit 5b8cd60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ ENV RUST_BACKTRACE 1
ENV SERVER_PORT 7860

RUN mkdir /target
RUN chmod 777 /target
RUN chmod -R 777 /target
2 changes: 1 addition & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ COPY src ./src
RUN apt update
RUN apt install libgraphite2-dev -y

CMD ["cargo", "run"]
CMD ["cargo", "run", "--release"]

0 comments on commit 5b8cd60

Please sign in to comment.