Skip to content

Commit

Permalink
add needed dependencies && install rust nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Asone committed Aug 2, 2018
1 parent 8a7c4cd commit e559b53
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions _provisioning/an-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ LABEL NAME=tricoteuses-an-api
LABEL VERSION=1

RUN apk update && apk upgrade && \
apk add --no-cache git nodejs bash cargo
apk add --no-cache git nodejs bash curl file sudo

RUN git clone https://framagit.org/tricoteuses/tricoteuses-api-assemblee

WORKDIR tricoteuses-api-assemblee

RUN cargo build
RUN npm install --verbose

# using api port specified in ui config
RUN curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly


RUN cargo build
# using api port s pecified in ui config

0 comments on commit e559b53

Please sign in to comment.