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 DEBUG=true
ENV STATIC_ROOT=/app/static
ENV DATABASE_URL=sqlite:////app/db/db.sqlite3
RUN mkdir -p $STATIC_ROOT

View file

@ -8,7 +8,7 @@ services:
env_file:
- envs/docker-local-envs.env
volumes:
- src:/app/src
- db:/app/db
- ./src:/app/src
- ./db:/app/db
ports:
- "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 name="viewport" content="width=device-width, initial-scale=1">
<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"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous">
@ -43,7 +43,7 @@
}
</script>
{% 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"
crossorigin="anonymous"></script>
<script type="application/javascript" defer>