mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-22 12:21:16 +00:00
Merge pull request #50 from LemmyNet/fix_docker_1
Trying to fix docker deploy. #49
This commit is contained in:
commit
c781fa83b2
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
|
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
|
||||||
|
|
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue