Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nhumrich committed Sep 4, 2018
1 parent 2c6c9ef commit 66cdced
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 28 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
FROM python:alpine
FROM python:3.6-alpine

ENV PYCURL_SSL_LIBRARY=openssl \
PYTHONPATH=. \
DOCKER=True

# compile requirements for some python libraries
RUN apk --no-cache add curl-dev bash postgresql-dev \
gcc make libffi-dev musl-dev musl-utils && \
build-base libffi-dev libressl-dev && \
python3 -m pip install gunicorn "invoke==0.13.0" alembic dumb-init

# install python reqs
COPY requirements.txt /app/
WORKDIR /app

RUN export PYCURL_SSL_LIBRARY=openssl && \
pip3 install -r requirements.txt --user -U
pip3 install -r requirements.txt


# build frontend
COPY tmeister/static /app/tmeister/static
RUN apk --no-cache add nodejs git && \
RUN apk --no-cache add nodejs npm git && \
cd /app/tmeister/static && \
npm install && \
npm run postinstall && \
Expand Down
73 changes: 49 additions & 24 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,53 @@
asyncpgsa==0.13.0
asyncpg==0.9.0
sqlalchemy
alembic==0.9.8
aiohttp==1.0.5
aioauth-client==0.10.0
aiohttp_oauth==0.4.3
aiohttp_session==0.8.0
aiohttp_autoreload==0.0.1
aiohttp_index==0.1
psycopg2
uvloop
aiohttp==1.0.5
aiohttp-autoreload==0.0.1
aiohttp-index==0.1
aiohttp-oauth==0.4.3
aiohttp-session==0.8.0
alembic==0.9.8
asn1crypto==0.24.0
astroid==1.6.5
async-timeout==3.0.0
asyncpg==0.9.0
asyncpgsa==0.13.0
atomicwrites==1.1.5
attrs==18.1.0
cffi==1.11.5
chardet==3.0.4
coverage==4.5.1
dumb-init==1.2.1
flake8==3.5.0
future==0.16.0
gunicorn==19.8.1
idna==2.7
invoke==0.13.0
isort==4.3.4
jmespath==0.9.3
lazy-object-proxy==1.3.1
Mako==1.0.7
MarkupSafe==1.0
mccabe==0.6.1
more-itertools==4.2.0
multidict==4.3.1
pluggy==0.6.0
psycopg2==2.7.5
py==1.5.3
pycodestyle==2.3.1
pycparser==2.18
pycurl==7.43.0.2
pyflakes==1.6.0
pylint==1.9.2
pyresttest==1.7.1
pytest==3.6.1
pytest-cov==2.5.1
python-dateutil==2.7.3
python-editor==1.0.3
PyYAML==3.12
raven==6.9.0
raven-aiohttp==0.5.0
pyresttest
jmespath
psycopg2
gunicorn
six==1.11.0
SQLAlchemy==1.2.8
uvloop==0.10.1
wrapt==1.10.11
yarl==1.1.1

# dev stuff
coverage
flake8
pylint
pytest
pytest-cov



0 comments on commit 66cdced

Please sign in to comment.