diff --git a/Dockerfile b/Dockerfile index ca4c00e..f082d7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ RUN apt-get update && apt-get install -y \ tar \ openjdk-17-jdk \ netcat \ + nginx \ && rm -rf /var/lib/apt/lists/* WORKDIR /usr/src/app @@ -32,4 +33,4 @@ ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk-amd64 EXPOSE 8000 # Command to run the Django development server -CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] \ No newline at end of file +CMD python manage.py migrate && gunicorn --bind :8000 koalixcrm.wsgi \ No newline at end of file