Skip to content

iamzubin/podman-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containerizing a node.js application with Podman

Dockerfile

FROM node:8
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3333
CMD ["node", "app.js"]

To Run Podman

Install Podman from the official site. (https://github.com/containers/libpod/blob/master/install.md)

$ podman build -t podmandemo .

$ podman run -d -p 3333:3333 podmandemo

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published