Skip to content

Commit

Permalink
Permission denied
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Sep 19, 2024
1 parent d7b55a5 commit b9903e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 2 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ CMD sh -c "python3 manage.py migrate --noinput && \
python3 manage.py export --cleanup=1 --upload=1 && \
python3 manage.py runserver 0.0.0.0:8000"

RUN ln -s /app/staticfiles /tmp/staticfiles

# make script executable
# RUN chmod +x /backend/backend-command-script.sh

Expand Down
11 changes: 0 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,19 +186,8 @@ services:
GEOCODER_ADDRESS_API_BASE: https://geocoder.api.gov.bc.ca/addresses.json?
LOCAL: "true"
LOAD_FIXTURES: "true"
# command: /bin/bash -c "
# python3 -m pip install --upgrade pip &&
# python3 -m pip install ptvsd &&
# python3 -m pip install -r requirements.txt &&
# python3 manage.py migrate --noinput &&
# ./load_fixtures.sh all &&
# python3 manage.py createinitialrevisions &&
# python3 manage.py collectstatic --noinput &&
# python3 manage.py export --cleanup=1 --upload=1 &&
# python3 manage.py runserver 0.0.0.0:8000"
volumes:
- ./backend:/backend
# - ./backend-command-script.sh:/backend-command-script.sh
ports:
- "8000:8000"
- "3000:3000"
Expand Down

0 comments on commit b9903e1

Please sign in to comment.