Added Astro.js guide

This commit is contained in:
2026-04-30 21:16:43 -05:00
parent f4653456f3
commit 17c79eb6bd
4 changed files with 163 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ jobs:
app-name: ${{ vars.APP_NAME }}
tag: production
port: ${{ vars.PROD_PORT }}
internal-port: ${{ vars.INTERNAL_PORT }}
environment: production
subdomain: ${{ vars.PROD_SUBDOMAIN }}
@@ -45,6 +46,7 @@ jobs:
app-name: ${{ vars.APP_NAME }}
tag: ${{ steps.slug.outputs.slug }}
port: ${{ steps.slug.outputs.port }}
internal-port: ${{ vars.INTERNAL_PORT }}
environment: preview
subdomain: ${{ steps.slug.outputs.slug }}.${{ vars.APP_NAME }}

View File

@@ -0,0 +1,9 @@
FROM node:lts-alpine AS build
WORKDIR /app
COPY . .
RUN npm i
RUN npm run build
FROM httpd:2.4 AS runtime
COPY --from=build /app/dist /usr/local/apache2/htdocs/
EXPOSE 80

View File

@@ -0,0 +1,3 @@
.DS_Store
node_modules
dist