1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-16 05:19:12 +00:00
trezor-wallet/Dockerfile

17 lines
265 B
Docker
Raw Normal View History

2018-10-24 16:46:38 +00:00
FROM node:9.3
2018-10-02 13:01:47 +00:00
2018-10-24 21:01:23 +00:00
ARG BUILD_TYPE=stable
2018-10-24 15:18:28 +00:00
2018-10-02 13:01:47 +00:00
WORKDIR /trezor-wallet-app
COPY package.json /trezor-wallet-app
COPY yarn.lock /trezor-wallet-app
RUN yarn install
COPY . /trezor-wallet-app
2018-10-24 15:18:28 +00:00
RUN yarn run build:${BUILD_TYPE}
2018-10-02 13:01:47 +00:00
EXPOSE 8080
CMD [ "yarn", "run", "prod-server" ]