Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit ff29540
Author: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
Date:   Tue Feb 18 13:59:12 2020 +0100

    feat: Added a /health endpoint (paritytech#230)

commit 483cf81
Author: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
Date:   Tue Feb 18 13:04:38 2020 +0100

    chore: Update Edgeware to new node name (paritytech#229)

commit b40afd6
Author: Axel Chalon <xaxel@protonmail.com>
Date:   Fri Feb 14 17:03:49 2020 +0000

    Use kind-of >=6.0.3 everywhere (paritytech#227)

commit b665555
Author: Daniel Maricic <woss@users.noreply.github.com>
Date:   Fri Feb 7 18:27:25 2020 +0100

    working backend on docker (paritytech#226)

    * working backend on docker

    refactor of the dockerfiles to be more readable and independent.
    full build of the backend (release only) within docker

    * read `PORT` to u16

    * Only need one `PORT` in the new backend

    Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
  • Loading branch information
woss committed Feb 18, 2020
1 parent fbb7848 commit 99f4cbe
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions backend.Dockerfile
@@ -0,0 +1,11 @@
FROM rust

WORKDIR /app

COPY ./backend .

RUN cargo build --release

EXPOSE 8000

ENTRYPOINT [ "./target/release/telemetry" ]
11 changes: 11 additions & 0 deletions frontend.Dockerfile
@@ -0,0 +1,11 @@
FROM node:10-alpine

WORKDIR /app

RUN apk add --no-cache python make g++

COPY ./scripts ./scripts
COPY ./packages ./packages
COPY ./package.json ./yarn.lock ./tsconfig.json ./

RUN yarn

0 comments on commit 99f4cbe

Please sign in to comment.