Skip to content

Commit

Permalink
Add media file
Browse files Browse the repository at this point in the history
  • Loading branch information
PleatherStarfish committed Jul 30, 2024
1 parent 6f494c9 commit b5c2d8f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ RUN apt-get update && apt-get install -y make
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt -y install nodejs

RUN mkdir -p /code/media

COPY . .
COPY entrypoint.sh /entrypoint.sh

Expand Down
1 change: 1 addition & 0 deletions backend/modules/templates/modules/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "_base.html" %}
{% load custom_tags %}
{% load static %}

{% block content %}
<div class="py-12 mx-auto">
Expand Down
2 changes: 1 addition & 1 deletion backend/static/js/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
volumes:
- ./backend:/code
- ./frontend/build/:/code/static/frontend
- media_volume:/code/media
ports:
- 8000:8000
depends_on:
Expand Down

0 comments on commit b5c2d8f

Please sign in to comment.