thunderhub/Dockerfile
Anthony Potdevin 24c5109a06
feat: chat integration (#34)
* feat: chat wip

* chore: more chat stuff

* chore: fallback alias

* chore: more chat progress

* chore: chat continues

* chore: disconnect on account change

* chore: add start chat view

* fix: no messages fix

* chore: 🔧 more chat changes

* feat:  move to react feather

* chore: 🔧 add fee paid

* style: 🎨 change fee paid style

* fix: 🐛 wrong sidesettings icon

* chore: 🔧 add signed verified messages

* style: 🎨 chat mobile styling

* style: 🎨 contacts button icon

* chore: 🔧 add message types

* style: 🎨 chat changes

* chore: 🔧 error handling and styling

* chore: 🔧 chat settings

* chore: 🔧 contact last message

* chore: 🔧 small alias styling

* chore: 🔧 improve error handling

* chore: 🔧 juggernaut compatible

* chore: 🔧 multi currency

* chore: 🔧 add maxfee setting

* chore: 🔧 small fixes

* chore: 🔧 docker multistage
2020-05-01 14:08:30 +02:00

33 lines
616 B
Docker

# ---------------
# Install Dependencies
# ---------------
FROM node:12-alpine as build
# Install dependencies neccesary for node-gyp on node alpine
RUN apk add --update --no-cache \
python \
make \
g++
# Install app dependencies
COPY package.json .
COPY yarn.lock .
RUN yarn install --silent --production=true
RUN yarn add --dev cross-env
# ---------------
# Build App
# ---------------
FROM node:12-alpine
# Copy dependencies from build stage
COPY --from=build node_modules node_modules
# Bundle app source
COPY . .
RUN yarn tslint
RUN yarn test
RUN yarn build
EXPOSE 3000
CMD [ "yarn", "start" ]