1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 10:48:22 +00:00
trezor-wallet/Dockerfile

17 lines
269 B
Docker
Raw Normal View History

2019-03-04 15:29:11 +00:00
FROM node:10.15.1
2018-10-02 13:01:47 +00:00
2019-03-04 15:29:11 +00:00
ARG BUILD_TYPE=stable
2018-10-24 15:18:28 +00:00
2019-03-04 15:29:11 +00:00
WORKDIR /trezor-wallet-app
2018-10-02 13:01:47 +00:00
2019-03-04 15:29:11 +00:00
COPY package.json /trezor-wallet-app
COPY yarn.lock /trezor-wallet-app
2018-10-02 13:01:47 +00:00
2019-03-04 15:29:11 +00:00
RUN yarn install
2018-10-02 13:01:47 +00:00
2019-03-04 15:29:11 +00:00
COPY . /trezor-wallet-app
2018-10-02 13:01:47 +00:00
2019-03-04 15:29:11 +00:00
RUN yarn run build:${BUILD_TYPE}
2018-10-02 13:01:47 +00:00
2019-03-04 15:29:11 +00:00
EXPOSE 8080
CMD [ "yarn", "run", "prod-server" ]