Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltauil committed Oct 11, 2018
1 parent bc34bf2 commit 2d353e6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions vendor/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ RUN apt-get update && \
useradd -r -G cowbull_g -d /cowbull cowbull && \
chown cowbull /cowbull
WORKDIR /cowbull
COPY ../../requirements.txt /cowbull
COPY requirements.txt /cowbull
RUN pip install -q setuptools
RUN pip install -q -r /cowbull/requirements.txt
USER cowbull
ENV PYTHONPATH="/cowbull"
COPY ../../extensions /cowbull/extensions/
COPY ../../flask_controllers /cowbull/flask_controllers/
COPY ../../flask_helpers /cowbull/flask_helpers
COPY ../../Game /cowbull/Game/
COPY ../../Persistence /cowbull/Persistence/
COPY ../../PersistenceExtensions /cowbull/PersistenceExtensions/
COPY ../../python_cowbull_server /cowbull/python_cowbull_server/
COPY ../../Routes /cowbull/Routes
COPY ../../tests /cowbull/tests
COPY ../../app.py /cowbull/
COPY ../../LICENSE /cowbull/
COPY extensions /cowbull/extensions/
COPY flask_controllers /cowbull/flask_controllers/
COPY flask_helpers /cowbull/flask_helpers
COPY Game /cowbull/Game/
COPY Persistence /cowbull/Persistence/
COPY PersistenceExtensions /cowbull/PersistenceExtensions/
COPY python_cowbull_server /cowbull/python_cowbull_server/
COPY Routes /cowbull/Routes
COPY tests /cowbull/tests
COPY app.py /cowbull/
COPY LICENSE /cowbull/
CMD ["gunicorn", "-b", "0.0.0.0:8080", "-w", "4", "app:app"]
EXPOSE 8080

0 comments on commit 2d353e6

Please sign in to comment.