Dockerfile examples

From wikieduonline
Revision as of 16:06, 16 July 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search

Dockerfile examples:

FROM node:carbon
WORKDIR /srv/app
COPY . .
RUN npm install --only=production
ENTRYPOINT [ "npm", "start" ]


FROM ubuntu
RUN apt install -y nginx


Related terms

See also

Advertising: