fix: Use sh to run start.sh (bypass permission issue)
This commit is contained in:
parent
ae732074e2
commit
1242b5d2ed
1 changed files with 2 additions and 5 deletions
|
|
@ -7,8 +7,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Make startup script executable
|
# Run migrations then start server (shell form handles permissions)
|
||||||
RUN chmod +x start.sh
|
CMD ["sh", "start.sh"]
|
||||||
|
|
||||||
# Run migrations then start server
|
|
||||||
CMD ["./start.sh"]
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue