1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-25 16:38:08 +00:00
trezor-wallet/Dockerfile

17 lines
263 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 15:18:28 +00:00
ARG BUILD_TYPE=prod
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" ]