From 1bbf81753d52e6e65f3192cd64f60fe1eddd03a5 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 14 May 2021 11:18:17 -0400 Subject: [PATCH] Trying to fix docker deploy. #49 --- Dockerfile | 2 +- README.md | 2 +- deploy.sh | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6100835..681d1f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY lemmy-docs ./lemmy-docs RUN mdbook build lemmy-docs -d ../docs # Build the asyncapi API docs -FROM asyncapi/generator:1.1.7 as api +FROM asyncapi/generator:1.7.0 as api WORKDIR /app COPY src/assets/scripts/asyncapi.yaml ./ RUN ag -o ./api ./asyncapi.yaml @asyncapi/html-template --force-write diff --git a/README.md b/README.md index 2ba0241..1847fb6 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Running ``` -docker build -t joinlemmy-site +docker build . -t joinlemmy-site docker run -p 3000:1234 joinlemmy-site ``` diff --git a/deploy.sh b/deploy.sh index e840821..0df067e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,4 @@ #!/bin/bash -set -e git submodule update --remote git add lemmy-docs