Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Commit

Permalink
Merge pull request #375 from Kinto/lighter-docker
Browse files Browse the repository at this point in the history
Slightly lighter Docker container image
  • Loading branch information
leplatrem committed Jan 15, 2016
2 parents c4fc6cc + faf1bc3 commit 9c89435
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Mozilla Kinto server
FROM python:3.5
WORKDIR /code
ADD . /code
ADD kinto /code/kinto
ADD README.rst /code/
ADD CHANGELOG.rst /code/
ADD CONTRIBUTORS.rst /code/
ADD setup.py /code/
ADD MANIFEST.in /code/
RUN pip install cliquet[postgresql,monitoring]
RUN pip install -e .
RUN kinto --ini /etc/kinto/kinto.ini --backend=memory init
CMD kinto --ini /etc/kinto/kinto.ini migrate && kinto --ini /etc/kinto/kinto.ini start
RUN pip install -e /code
ENV KINTO_INI /etc/kinto/kinto.ini
RUN kinto --ini $KINTO_INI --backend=memory init
CMD kinto --ini $KINTO_INI migrate && kinto --ini $KINTO_INI start

0 comments on commit 9c89435

Please sign in to comment.