Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed Dockerfile to execute docker-entrypoint.sh without chmod +x #5

Merged
merged 1 commit into from
Nov 20, 2020
Merged

changed Dockerfile to execute docker-entrypoint.sh without chmod +x #5

merged 1 commit into from
Nov 20, 2020

Conversation

lanjelot
Copy link
Collaborator

@lanjelot lanjelot commented Nov 20, 2020

This is really just to make the dev env work straight out of the box. With the below docker-compose.yml (note the new build and volumes directives), code changes are live but you'd still need to chmod +x docker-entrypoint.sh manually.

  ctfpad:
    #build: https://github.com/hugsy/ctfpad.git#main
    build:
      context: ../ctfpad.git
    volumes:
      - ../ctfpad.git:/code
    command: python manage.py runserver 0.0.0.0:8000

Anyways, thought you may find this helpful.

@hugsy hugsy merged commit 7d1b168 into hugsy:main Nov 20, 2020
@hugsy hugsy added this to the 0.1 milestone Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants