mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-24 21:31:16 +00:00
Trying to fix docker deploy. #49
This commit is contained in:
parent
138edef8f5
commit
1bbf81753d
3 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
## Running
|
||||
|
||||
```
|
||||
docker build -t joinlemmy-site
|
||||
docker build . -t joinlemmy-site
|
||||
docker run -p 3000:1234 joinlemmy-site
|
||||
```
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
git submodule update --remote
|
||||
git add lemmy-docs
|
||||
|
|
Loading…
Reference in a new issue