podman container builds and runs
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal 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/
|
||||
Reference in New Issue
Block a user