FROM node:13.7.0

ENV CONTAINER_PATH /var/www/docker-vue

WORKDIR $CONTAINER_PATH

COPY package*.json ./

RUN npm install

COPY postcss.config.js babel.config.js .eslintrc.js ./
COPY public ./public
COPY resources ./resources
COPY bin ./bin
COPY src ./src

EXPOSE 8080

CMD ["npm", "run", "serve"]
