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:alpine |
|
|
|
RUN npm install --global yarn |
|
|
|
ADD package.json yarn.lock /app/ |
|
WORKDIR /app/ |
|
RUN yarn install --production |
|
|
|
ADD dist/ /app/dist |
|
ADD public/ /app/public |
|
|
|
EXPOSE 8080 |
|
ENTRYPOINT [ "npm", "run", "start" ]
|
|
|