Added Astro.js guide
This commit is contained in:
9
examples/docker/astro.dockerfile
Normal file
9
examples/docker/astro.dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user