15 lines
315 B
Docker
15 lines
315 B
Docker
FROM python:3.6-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apk add git gcc musl-dev postgresql-dev && \
|
|
pip install pipenv && \
|
|
git clone https://github.com/shacker/gtd.git /app && \
|
|
pipenv --python 3.6 && \
|
|
pipenv install --dev
|
|
|
|
ADD local.py project/.
|
|
ADD entrypoint.sh .
|
|
RUN chmod +x entrypoint.sh
|
|
|
|
CMD [ "./entrypoint.sh" ]
|