forked from zachm/tscached
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dockerfile, and Makefile targets for it.
- Loading branch information
Showing
2 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM ubuntu:trusty | ||
MAINTAINER Zach Musgrave <[email protected]> | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y git make | ||
RUN apt-get install -y python2.7 python2.7-dev python-pip | ||
RUN apt-get install -y libyaml-dev libpcre3-dev | ||
|
||
ADD . / | ||
RUN pip install -Ur requirements.txt | ||
RUN make frontend | ||
|
||
CMD uwsgi --ini tscached.uwsgi.ini --wsgi-file tscached/uwsgi.py | ||
|
||
EXPOSE 8008 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters