mirror of
https://github.com/yldio/copilot.git
synced 2024-11-11 05:40:11 +02:00
14 lines
239 B
Docker
14 lines
239 B
Docker
|
FROM mhart/alpine-node:7
|
||
|
|
||
|
RUN npm install -g yarn
|
||
|
|
||
|
WORKDIR /src
|
||
|
COPY package.json package.json
|
||
|
COPY yarn.lock yarn.lock
|
||
|
|
||
|
RUN yarn install --production --pure-lockfile --prefer-offline
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
EXPOSE 8000
|
||
|
CMD ["node", "scripts/start.js"]
|