~shreyasminocha/rice-dining-api

aedad4094ba4e6fc7474a49c64be2967411856d9 — Shreyas Minocha 2 years ago c33af5d
Add dockerfile
1 files changed, 14 insertions(+), 0 deletions(-)

A Dockerfile
A Dockerfile => Dockerfile +14 -0
@@ 0,0 1,14 @@
from node:alpine
label maintainer "Shreyas Minocha"

run mkdir -p /var/www/rice-dining-api
workdir /var/www/rice-dining-api

copy package*.json ./
run npm ci --only=production

copy . .

expose 3000

cmd ["node", "index.js"]