1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-26 00:48:35 +00:00
trezor-wallet/Dockerfile
2018-10-24 17:54:00 +02:00

17 lines
261 B
Docker

FROM node:8
ARG BUILD_TYPE=prod
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" ]