Created
January 6, 2017 11:54
-
-
Save soardex/56341fbd26892d54c7d6fffdd64e9c4b to your computer and use it in GitHub Desktop.
Sample Dockerfile
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
FROM python:2.7-alpine | |
MAINTAINER Edward Fitz Abucay <[email protected]> | |
USER root | |
ENV JUROJIN_SRC=data | |
ENV JUROJIN_BOOT=jurojin-boot.sh | |
ENV JUROJIN=/data | |
RUN mkdir -p $JUROJIN | |
COPY $JUROJIN_SRC $JUROJIN | |
RUN pip install --upgrade pip \ | |
&& pip install -r $JUROJIN/requirements.txt | |
EXPOSE 8000 | |
WORKDIR $JUROJIN | |
ENTRYPOINT ["/data/jurojin-boot.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment