Skip to content

Instantly share code, notes, and snippets.

@outoftime
Last active January 30, 2019 01:06

Revisions

  1. outoftime revised this gist Jan 30, 2019. 2 changed files with 8 additions and 2 deletions.
    3 changes: 3 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    FROM python:2

    RUN pip install -e git://github.com/MoveOnOrg/actionkit-templates#egg=actionkit-templates
    7 changes: 5 additions & 2 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,13 @@
    version: '3.7'
    services:
    app:
    image: python:2
    build: .
    command: aktemplates runserver 0.0.0.0:8000
    ports:
    - 8000:8000
    volumes:
    - .:/app
    - pip:/usr/local/lib/python2.7/site-packages
    working_dir: '/app'
    volumes:
    pip:
    pip:
  2. outoftime revised this gist Jan 29, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    version: '3.7'
    services:
    app:
    build: .
    image: python:2
    volumes:
    - .:/app
    - pip:/usr/local/lib/python2.7/site-packages
  3. outoftime created this gist Jan 29, 2019.
    10 changes: 10 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    version: '3.7'
    services:
    app:
    build: .
    volumes:
    - .:/app
    - pip:/usr/local/lib/python2.7/site-packages
    working_dir: '/app'
    volumes:
    pip: