diff --git a/dynamicweb2/Dockerfile b/Dockerfile similarity index 68% rename from dynamicweb2/Dockerfile rename to Dockerfile index c42ffc8..eedc9f1 100644 --- a/dynamicweb2/Dockerfile +++ b/Dockerfile @@ -21,5 +21,12 @@ COPY . /app/ # Collect static files RUN python manage.py collectstatic --noinput +#RUN python manage.py migrate + +RUN ls -al /app + # Run uWSGI with Unix socket -CMD ["uwsgi", "--ini", "uwsgi.ini"] +CMD ["uwsgi", "--chdir", "/app", "--ini", "uwsgi.ini"] + +# Run uWSGI +#CMD ["uwsgi", "--socket", ":8000", "--module", "dynamicweb2.wsgi:application", "--chdir", "/app"]