feat: ability to update blog

This commit is contained in:
2025-06-24 20:38:24 -04:00
parent 26bb7de018
commit 7242579c17
6 changed files with 143 additions and 12 deletions
+2 -6
View File
@@ -1,18 +1,14 @@
# Build stage
FROM node:20 AS build
WORKDIR /app
COPY package.json package-lock.json ./
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Production stage
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80