Dockerfile examples
Jump to navigation
Jump to search
Dockerfile
examples:
FROM node:carbon WORKDIR /srv/app COPY . . RUN npm install --only=production ENTRYPOINT [ "npm", "start" ]
FROM --platform=linux/amd64 ubuntu RUN apt install -y nginx
Related terms
See also
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
Advertising: