dev: add -p flag for the logs folder (#4007)
This commit is contained in:
parent
4eefc7f692
commit
e1f04356fc
2 changed files with 2 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ USER root
|
|||
RUN apk --no-cache add "bash~=5.2"
|
||||
COPY ./bin ./bin/
|
||||
|
||||
RUN mkdir /code/plane/logs
|
||||
RUN mkdir -p /code/plane/logs
|
||||
RUN chmod +x ./bin/takeoff ./bin/worker ./bin/beat
|
||||
RUN chmod -R 777 /code
|
||||
RUN chown -R captain:plane /code
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ RUN addgroup -S plane && \
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN mkdir -p /code/plane/logs
|
||||
RUN chown -R captain.plane /code
|
||||
RUN chmod -R +x /code/bin
|
||||
RUN chmod -R 777 /code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue