4 ms·
If you're using multiple steps anyway, there's no need to use nginx base on every step. FROM nginx:1.17.10-alpine as npmpackages RUN apk add --update n
by alpb 6y ago
If you're using multiple steps anyway, there's no need to use nginx base on every step.
FROM nginx:1.17.10-alpine as npmpackages
RUN apk add --update nodejs npm
Just do:
FROM node:10
RUN npm [...]
- herohamp 6y agothat is true, ill switch to that when i get around to it