mirror of
https://github.com/apotdevin/thunderhub.git
synced 2026-08-13 12:33:08 +02:00
14 lines
No EOL
250 B
Docker
14 lines
No EOL
250 B
Docker
FROM node:11-alpine as build
|
|
|
|
WORKDIR /usr/src/client
|
|
|
|
COPY package.json /usr/src/client
|
|
COPY yarn.lock /usr/src/client
|
|
RUN yarn install --production=true
|
|
|
|
COPY . /usr/src/client
|
|
RUN yarn build
|
|
|
|
RUN yarn global add serve
|
|
|
|
CMD ["serve", "-s", "build"] |