wkiv363 3 years ago
parent
commit
a124921afa
  1. 6
      Dockerfile

6
Dockerfile

@ -9,16 +9,14 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN dpkg-reconfigure -f noninteractive tzdata RUN dpkg-reconfigure -f noninteractive tzdata
# #
ADD containercontent / ADD containercontent /
RUN pip install django-crispy-forms
WORKDIR "/opt/chatbot_engine/" WORKDIR "/opt/chatbot_engine/"
RUN pip list RUN pip3 list
# Server # Server
EXPOSE 8001 EXPOSE 8001
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
ENTRYPOINT ["python3", "manage.py"] ENTRYPOINT ["python3", "manage.py"]
CMD ["runserver", "0.0.0.0:8001"] CMD ["runserver", "0.0.0.0:8001"]

Loading…
Cancel
Save