summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile25
1 files changed, 13 insertions, 12 deletions
diff --git a/Dockerfile b/Dockerfile
index 91f0185..b6d642c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,17 +1,18 @@
-FROM node:22-alpine AS builder
+#FROM node:22-alpine AS builder
+#
+#WORKDIR /app
+#
+#COPY package*.json ./
+#RUN npm install
+#
+#COPY . .
+#
+#RUN npm run build
-WORKDIR /app
+FROM nginx:alpine AS lizdotcoffee
-COPY package*.json ./
-RUN npm install
-
-COPY . .
-
-RUN npm run build
-
-FROM nginx:alpine as lizdotcoffee
-
-COPY --from=builder /app/_site /usr/share/nginx/html
+# COPY --from=builder /app/_site /usr/share/nginx/html
+COPY html /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80