FROM node:current-alpine WORKDIR /var/www # Copy all build and modules COPY package.json dist . # Open port EXPOSE 3000 # Serve CMD node dist VOLUME ["/var/www"]