mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-03 16:10:26 +03:00
Initial Astro project
This commit is contained in:
@ -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
|
@ -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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user