diff --git a/Dockerfile b/Dockerfile
index 70d67c84..9e6e0b58 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@ ENV PYTHONUSERBASE=/python-deps
ENV PATH="${PATH}:${PYTHONUSERBASE}/bin"
WORKDIR /app
-COPY . .
+COPY requirements.txt ./
RUN set ex \
&& buildDeps=" \
@@ -27,4 +27,6 @@ RUN set ex \
&& rm -rf /var/lib/apt/lists/* \
&& chmod +x /usr/bin/tini
+COPY . .
+RUN DEFAULT_FILE_STORAGE=django.core.files.storage.FileSystemStorage python src/manage.py collectstatic --noinput
ENTRYPOINT ["/usr/bin/tini", "--", "./docker-entrypoint.sh"]
diff --git a/src/config/settings.py b/src/config/settings.py
index f76faa57..c1976f47 100644
--- a/src/config/settings.py
+++ b/src/config/settings.py
@@ -118,7 +118,9 @@
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
- "DIRS": [],
+ "DIRS": [
+ "templates/",
+ ],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
@@ -178,9 +180,12 @@
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.2/howto/static-files/
-
-STATIC_URL = "static/"
STATIC_ROOT = "staticfiles"
+STATIC_URL = "static/"
+
+STATICFILES_DIRS = [
+ "static",
+]
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
diff --git a/src/templates/drf-yasg/swagger-ui.html b/src/templates/drf-yasg/swagger-ui.html
new file mode 100644
index 00000000..1a4f7925
--- /dev/null
+++ b/src/templates/drf-yasg/swagger-ui.html
@@ -0,0 +1,25 @@
+{% extends "drf-yasg/swagger-ui.html" %}
+{% load static %}
+
+{% block favicon %}
+
+{% endblock %}
+
+{% block main_styles %}
+
+
+
+{% endblock %}
diff --git a/static/.gitignore b/static/.gitignore
new file mode 100644
index 00000000..e69de29b
diff --git a/static/safe/favicon.png b/static/safe/favicon.png
new file mode 100644
index 00000000..2ba2897e
Binary files /dev/null and b/static/safe/favicon.png differ
diff --git a/static/safe/logo.png b/static/safe/logo.png
new file mode 100755
index 00000000..5cbcc554
Binary files /dev/null and b/static/safe/logo.png differ