Skip to content

Commit

Permalink
Merge pull request #294 from sergiolaverde0/slim
Browse files Browse the repository at this point in the history
fix: revert to setting PYTHONPATH on the composefile for dev
  • Loading branch information
simjanos-dev committed Jun 6, 2024
2 parents e864081 + 6499674 commit a7acbaa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docker-compose-dev-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ services:
- ./storage/app:/var/www/html/storage/app
networks:
- linguacafedev
environment:
PYTHONPATH: "/var/www/html/storage/app/model"
platform: linux/amd64
2 changes: 2 additions & 0 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ services:
- ./storage/app:/var/www/html/storage/app
networks:
- linguacafedev
environment:
PYTHONPATH: "/var/www/html/storage/app/model"
2 changes: 0 additions & 2 deletions docker/PythonDockerfileDev
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ RUN addgroup --gid 1000 laravel \
&& adduser --ingroup laravel --disabled-password --gecos "" --shell /bin/sh laravel
USER laravel

ENV PYTHONPATH="/var/www/html/storage/app/model"

RUN pip install -U --no-cache-dir \
setuptools \
wheel \
Expand Down

0 comments on commit a7acbaa

Please sign in to comment.