diff --git a/vendor/docker/Dockerfile b/vendor/docker/Dockerfile index b65b815..5771a54 100644 --- a/vendor/docker/Dockerfile +++ b/vendor/docker/Dockerfile @@ -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