Browse Source

Add fig configuration file (for automated builds). Change base to non-python webapp parent. Remove versioning from requirements.txt.

master
Cassowary 7 years ago
parent
commit
e84c7ea4d7
3 changed files with 13 additions and 3 deletions
  1. +4
    -1
      Dockerfile
  2. +7
    -0
      fig.yml
  3. +2
    -2
      requirements.txt

+ 4
- 1
Dockerfile View File

@@ -1,2 +1,5 @@
FROM google/python-runtime
FROM python:2.7
ADD . /hackernamegen
WORKDIR /hackernamegen
RUN git submodule init && git submodule update
RUN pip install -r requirements.txt

+ 7
- 0
fig.yml View File

@@ -0,0 +1,7 @@
hackernamegen:
build: .
command: python main.py
ports:
- "8080:8080"
volumes:
- .:/hackernamegen

+ 2
- 2
requirements.txt View File

@@ -1,2 +1,2 @@
bobo==2.3.0
Jinja2==2.7.3
bobo
Jinja2

Loading…
Cancel
Save