You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
FROM node:12.6.0-alpine
|
|
RUN apk add --no-cache paxctl && paxctl -cm `which node`
|
|
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
|
|
WORKDIR /home/node/app
|
|
COPY --chown=node:node . .
|
|
USER node
|
|
RUN npm install
|
|
EXPOSE 80
|
|
CMD [ "node", "index.js" ]
|