Merge pull request #50 from LemmyNet/fix_docker_1

Trying to fix docker deploy. #49
This commit is contained in:
Dessalines 2021-05-14 11:26:13 -04:00 committed by GitHub
commit c781fa83b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
# 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

View File

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

View File

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