Add Dockerfile
Michael Kinder michael@noreply.git.foggymtndrifter.com
Tue, 22 Oct 2024 13:03:43 -0400
1 files changed,
9 insertions(+),
0 deletions(-)
jump to
A
Dockerfile
@@ -0,0 +1,9 @@
+FROM node:lts 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