Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker-vol
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@ RUN mkdir -p /opt/localshop/var && \
chown -R localshop:localshop /opt/localshop/
RUN easy_install -U pip

WORKDIR /opt/localshop

ENV DJANGO_STATIC_ROOT /opt/localshop/static

# Install localshop
RUN pip install https://github.com/jazzband/localshop/archive/develop.zip#egg=localshop
ENV DJANGO_STATIC_ROOT /opt/localshop/static

# Install uWSGI / Honcho
run pip install psycopg2==2.6.0
run pip install uwsgi==2.0.10
run pip install honcho==0.6.6

# Install localshop
COPY ./ /opt/localshop/src/localshop
RUN cd /opt/localshop/src/localshop && \
pip install .

# Switch to user
USER localshop
Expand Down