Trying to fix docker deploy. #49

This commit is contained in:
Dessalines 2021-05-14 11:18:17 -04:00
parent 138edef8f5
commit 1bbf81753d
3 changed files with 2 additions and 3 deletions

View file

@ -9,7 +9,7 @@ COPY lemmy-docs ./lemmy-docs
RUN mdbook build lemmy-docs -d ../docs RUN mdbook build lemmy-docs -d ../docs
# Build the asyncapi API docs # Build the asyncapi API docs
FROM asyncapi/generator:1.1.7 as api FROM asyncapi/generator:1.7.0 as api
WORKDIR /app WORKDIR /app
COPY src/assets/scripts/asyncapi.yaml ./ COPY src/assets/scripts/asyncapi.yaml ./
RUN ag -o ./api ./asyncapi.yaml @asyncapi/html-template --force-write RUN ag -o ./api ./asyncapi.yaml @asyncapi/html-template --force-write

View file

@ -7,7 +7,7 @@
## Running ## Running
``` ```
docker build -t joinlemmy-site docker build . -t joinlemmy-site
docker run -p 3000:1234 joinlemmy-site docker run -p 3000:1234 joinlemmy-site
``` ```

View file

@ -1,5 +1,4 @@
#!/bin/bash #!/bin/bash
set -e
git submodule update --remote git submodule update --remote
git add lemmy-docs git add lemmy-docs