mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-14 12:29:31 +00:00
17 lines
269 B
Docker
17 lines
269 B
Docker
FROM node:10.15.1
|
|
|
|
ARG BUILD_TYPE=stable
|
|
|
|
WORKDIR /trezor-wallet-app
|
|
|
|
COPY package.json /trezor-wallet-app
|
|
COPY yarn.lock /trezor-wallet-app
|
|
|
|
RUN yarn install
|
|
|
|
COPY . /trezor-wallet-app
|
|
|
|
RUN yarn run build:${BUILD_TYPE}
|
|
|
|
EXPOSE 8080
|
|
CMD [ "yarn", "run", "prod-server" ] |