Dockerfile.dev 216 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
FROM node:lts

RUN mkdir /app
WORKDIR /app
RUN yarn global add serve
COPY package.json yarn.lock ./
RUN yarn --pure-lockfile

COPY . ./

EXPOSE 5000
CMD yarn parse && yarn glossary && yarn build && cd build && serve