blob: 85d78c21af4484915919ccdfd2ae0841b6e6b58b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
FROM node:6.9.4
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update && apt-get install yarn
WORKDIR /app
COPY package.json /app/
COPY yarn.lock /app/
RUN yarn install
COPY . /app
RUN npm run build
ENTRYPOINT [ "node", "bin/dasein" ])
|