feat: добавлена современная страница деталей услуги с портфолио и отзывами
This commit is contained in:
@@ -44,5 +44,10 @@ EXPOSE 8000
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
||||
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000').read()" || exit 1
|
||||
|
||||
# Start the Django server with wait for database
|
||||
CMD ["sh", "-c", "./wait-for-it.sh postgres_db:5432 -- python smartsoltech/manage.py migrate && python smartsoltech/manage.py runserver 0.0.0.0:8000"]
|
||||
# Entrypoint scripts
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
COPY docker-entrypoint-bot.sh /docker-entrypoint-bot.sh
|
||||
RUN chmod +x /docker-entrypoint.sh /docker-entrypoint-bot.sh
|
||||
|
||||
# Start the Django server
|
||||
CMD ["/docker-entrypoint.sh"]
|
||||
Reference in New Issue
Block a user