podman container builds and runs

This commit is contained in:
2026-03-06 22:44:56 -06:00
parent 7feb00e33a
commit 4d4a7c8c30
4 changed files with 94 additions and 3 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:latest AS build
WORKDIR /blog
COPY package.json /blog/
RUN npm install
COPY . /blog/
RUN npm run build
FROM nginx:alpine
COPY --from=build /blog/build/ /var/www/html/
COPY nginx.conf /etc/nginx/