dev: migration check (#3440)
* dev: wait for migrations script for beat, worker, takeoff * dev: update docker compose and migrator commands * dev: migrator commands for self hosted setup * dev: add recursive flag for chown
This commit is contained in:
parent
801f75f406
commit
512ad83c08
8 changed files with 69 additions and 13 deletions
|
|
@ -33,15 +33,10 @@ RUN pip install -r requirements/local.txt --compile --no-cache-dir
|
|||
RUN addgroup -S plane && \
|
||||
adduser -S captain -G plane
|
||||
|
||||
RUN chown captain.plane /code
|
||||
COPY . .
|
||||
|
||||
USER captain
|
||||
|
||||
# Add in Django deps and generate Django's static files
|
||||
|
||||
USER root
|
||||
|
||||
# RUN chmod +x ./bin/takeoff ./bin/worker ./bin/beat
|
||||
RUN chown -R captain.plane /code
|
||||
RUN chmod -R +x /code/bin
|
||||
RUN chmod -R 777 /code
|
||||
|
||||
USER captain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue