diff --git a/Dockerfile b/Dockerfile index abf750d..a848ecb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,5 +13,6 @@ FROM gcr.io/distroless/cc:latest WORKDIR /app COPY --from=builder /app/target/release/paste-frontend /app/paste-frontend ADD templates /app/templates +ADD static /app/static EXPOSE 8080 CMD ["./paste-frontend"] diff --git a/templates/paste.html b/templates/paste.html index e46d609..1ae8beb 100644 --- a/templates/paste.html +++ b/templates/paste.html @@ -8,11 +8,11 @@
-{{paste_content}}- {% endblock content %} + {% block content %} +
{{paste_content}}+ {% endblock content %}