Fix docker build

This commit is contained in:
Gabriel Augendre 2022-10-31 09:01:44 +01:00
parent 99f60a6dc8
commit e0192ecc3b
7 changed files with 7 additions and 4 deletions

View file

@ -39,6 +39,7 @@ WORKDIR /app/src
ARG ENV_FILE=/app/.env ARG ENV_FILE=/app/.env
ARG DEBUG=true ARG DEBUG=true
ENV STATIC_ROOT=/app/static ENV STATIC_ROOT=/app/static
ENV DATABASE_URL=sqlite:////app/db/db.sqlite3
RUN mkdir -p $STATIC_ROOT RUN mkdir -p $STATIC_ROOT

View file

@ -8,7 +8,7 @@ services:
env_file: env_file:
- envs/docker-local-envs.env - envs/docker-local-envs.env
volumes: volumes:
- src:/app/src - ./src:/app/src
- db:/app/db - ./db:/app/db
ports: ports:
- "8000:8000" - "8000:8000"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -6,7 +6,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}Character Sheet{% endblock %}</title> <title>{% block title %}Character Sheet{% endblock %}</title>
<link href="{% static "vendor/bootstrap-5.2.2.min.css" %}" <link href="{% static "vendor/bootstrap-5.2.2/bootstrap.min.css" %}"
rel="stylesheet" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous"> crossorigin="anonymous">
@ -43,7 +43,7 @@
} }
</script> </script>
{% endif %} {% endif %}
<script src="{% static "vendor/bootstrap-5.2.2.bundle.min.js" %}" <script src="{% static "vendor/bootstrap-5.2.2/bootstrap.bundle.min.js" %}"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"
crossorigin="anonymous"></script> crossorigin="anonymous"></script>
<script type="application/javascript" defer> <script type="application/javascript" defer>