Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 251 Bytes
FROM node:9.11.1-alpine
# Create workdir
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Add application
COPY package.json yarn.lock /usr/src/app/
RUN yarn install --non-interactive && yarn cache clean
COPY . /usr/src/app
CMD [ "yarn", "server" ]