Skip to content

Commit

Permalink
forcing work on jessie
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianwebber committed Sep 15, 2017
1 parent 7f74be6 commit fec9ee1
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
FROM python:3.5-alpine
FROM python:3.5
# -alpine

# Environment stuff
ENV OMNIDB_HOME /app
ENV OMNIDB_PORT 8000


# Copy the project
RUN mkdir $OMNIDB_HOME && \
apk --update add build-base \
postgresql-dev
RUN mkdir $OMNIDB_HOME
COPY . $OMNIDB_HOME/
WORKDIR $OMNIDB_HOME/OmniDB

# Install deppendencies
RUN pip3 install -r ../requirements.txt && \
pip3 install -r ../requirements.txt && \
apk del build-base \
postgresql-dev

# # Install deppendencies
RUN pip3 install pip --upgrade && \
pip3 install -r ../requirements.txt

# Start server
EXPOSE $OMNIDB_PORT
ENTRYPOINT ["python3"]
# ENTRYPOINT ["sh"]
CMD ["manage.py", "runserver"]
#
CMD ["manage.py", "runserver"]

0 comments on commit fec9ee1

Please sign in to comment.