Skip to content

Commit

Permalink
docs: merged last changes into next
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Jan 2, 2022
1 parent ac5aaf9 commit 5ab9903
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/next/en-US/deploying/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Before proceeding with this section, you should be familiar with Docker's [multi
<details>
<summary>Production example using the size optimizations plugin</summary>

```dockerfile
# get the base image
FROM rust:1.57-slim AS build

Expand Down Expand Up @@ -95,12 +96,14 @@ COPY --from=build /app/simple/pkg /app/
ENV HOST=0.0.0.0

CMD ["./server"]
```

</details>

<details>
<summary>Production examples using `wee_alloc` manually</summary>

```dockerfile
# get the base image
FROM rust:1.57-slim AS build

Expand Down Expand Up @@ -194,12 +197,14 @@ COPY --from=build /app/tiny/pkg /app/
ENV HOST=0.0.0.0

CMD ["./server"]
```

</details>

<details>
<summary>Test example for deploying a specific branch from the Perseus repository</summary>

```dockerfile
# get the base image
FROM rust:1.57-slim AS build

Expand Down Expand Up @@ -257,5 +262,6 @@ COPY --from=build /app/perseus-branch/examples/tiny/pkg /app/
ENV HOST=0.0.0.0

CMD ["./server"]
```

</details>

0 comments on commit 5ab9903

Please sign in to comment.