Skip to content

Commit

Permalink
Merge pull request #8 from Fer-Bar/bug/update-shebang-in-entrypoint
Browse files Browse the repository at this point in the history
fix: Update Shebang in Entrypoint Script for Alpine Compatibility
  • Loading branch information
Fer-Bar authored Apr 12, 2024
2 parents d60ad28 + 43e3fa3 commit 14b1d59
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: '3'
services:
web:
build: .
command: ./entrypoint.sh
volumes:
- .:/code
ports:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ADD pyproject.toml poetry.lock /code/
RUN pip install poetry && poetry config virtualenvs.create false && poetry install --no-dev

ADD . /code/
RUN chmod +x /code/entrypoint.sh
ENTRYPOINT ["/code/entrypoint.sh"]
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

python manage.py migrate

Expand Down

0 comments on commit 14b1d59

Please sign in to comment.