diff options
| author | Valentin Popov <valentin@popov.link> | 2024-09-05 00:16:37 +0300 | 
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2024-09-05 00:16:37 +0300 | 
| commit | 7eff3fde5720eb23449e2f8c8ea0b8218efe4dde (patch) | |
| tree | fbaedd693902c1a6d56a005b28b189ef76fe23f4 /.devcontainer | |
| parent | ecf9a15e77509d344ab4ee02ae0dbf8a116021f1 (diff) | |
| download | popov.link-7eff3fde5720eb23449e2f8c8ea0b8218efe4dde.tar.xz popov.link-7eff3fde5720eb23449e2f8c8ea0b8218efe4dde.zip | |
Initial Astro project
Diffstat (limited to '.devcontainer')
| -rw-r--r-- | .devcontainer/Dockerfile | 14 | ||||
| -rw-r--r-- | .devcontainer/devcontainer.json | 18 | 
2 files changed, 9 insertions, 23 deletions
| diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index 3d982d9..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM mcr.microsoft.com/devcontainers/base:bookworm - -RUN apt-get update && apt-get install -y \ -    curl \ -    tar \ -    && apt-get clean \ -    && rm -rf /var/lib/apt/lists/* - -ENV ZOLA_VERSION=0.19.1 - -    RUN curl -L https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz -o zola.tar.gz \ -    && tar -xzf zola.tar.gz \ -    && mv zola /bin/zola \ -    && rm zola.tar.gz
\ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 080109a..b58d399 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,15 +1,15 @@  { -  "name": "Zola Dev Container", -  "build": { -    "dockerfile": "Dockerfile" -  }, -  "forwardPorts": [ -    1111 -  ], +  "image": "mcr.microsoft.com/devcontainers/javascript-node:22", +  "forwardPorts": [4321],    "portsAttributes": { -    "1111": { +    "4321": {        "label": "Application",        "onAutoForward": "notify"      } +  }, +  "customizations": { +    "vscode": { +      "extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] +    }    } -}
\ No newline at end of file +} | 
