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:
Nikhil 2024-01-23 15:07:45 +05:30 committed by GitHub
parent 801f75f406
commit 512ad83c08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 69 additions and 13 deletions

View file

@ -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