diff --git a/dynamicweb2/Dockerfile b/dynamicweb2/Dockerfile index 7ba8cc3..c42ffc8 100644 --- a/dynamicweb2/Dockerfile +++ b/dynamicweb2/Dockerfile @@ -12,6 +12,9 @@ WORKDIR /app COPY ./requirements.txt /app/requirements.txt RUN pip install -r requirements.txt +# Install uwsgi +RUN pip install uwsgi + # Copy the project files into the working directory COPY . /app/ @@ -19,4 +22,4 @@ COPY . /app/ RUN python manage.py collectstatic --noinput # Run uWSGI with Unix socket -CMD ["uwsgi", "--socket", ":8000", "--module", "myapp.wsgi:application"] +CMD ["uwsgi", "--ini", "uwsgi.ini"]