You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pastebin/node/Dockerfile-old

8 lines
331 B
Plaintext

FROM node:15.12.0-alpine3.13
RUN apk add --no-cache python3 g++ make
WORKDIR /home/node/app
COPY ["package.json", "yarn.lock", "./"]
RUN yarn install --production
# the following aren't needed, as they can be accomplished by volumes with docker-compose, instead of making a new image layer:
#COPY ./src .
#CMD ["node", "server.js"]