Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryuni committed Dec 26, 2024
1 parent 7c45e38 commit a2c33f0
Showing 1 changed file with 32 additions and 30 deletions.
62 changes: 32 additions & 30 deletions docs/src/content/docs/deploying.mdx
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
---
title: Deploying
---

Here's guides on how to deploy Astro projects using Domain Expansion to different providers:

## Vercel

It just works.

## Netlify

It just works.

## @astrojs/node (without Docker)

It just works.

## Docker (Coolify etc.)

In Docker, we recommend using [cache mounts](https://docs.docker.com/build/cache/optimize/#use-cache-mounts). Here's how to use them within a `Dockerfile`:

```Dockerfile
RUN --mount=type=cache,target=/app/node_modules/.domain-expansion npm run build
```

Other than that, <br />
**It just works.**
<br /><br />
<sub>Seeing a pattern here?</sub>
---
title: Deploying
---

Here's guides on how to deploy Astro projects using Domain Expansion to different providers:

## Vercel

It just works.

## Netlify

It just works.

## @astrojs/node (without Docker)

It just works.

## Docker (Coolify etc.)

In Docker, we recommend using [cache mounts](https://docs.docker.com/build/cache/optimize/#use-cache-mounts). Here's how to use them within a `Dockerfile`:

```Dockerfile
RUN --mount=type=cache,target=/app/node_modules/.domain-expansion npm run build
```

Other than that, <br />
**It just works.**

<br />
<br />
<sub>Seeing a pattern here?</sub>

0 comments on commit a2c33f0

Please sign in to comment.