Files
fe-drone-ci/Dockerfile
Edwin Betancourt 05121c5fa5 minimal changes.
2020-06-09 17:09:39 -04:00

18 lines
336 B
Docker

FROM node:12
# Create app directory
WORKDIR /usr/app
# Copy project files
COPY . ./
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
RUN npm install \
&& npm run build:prod
# Build state files
# Start builded application
CMD npm run preview