Skip to content

Commit

Permalink
bugfix: fix an-api dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Asone committed Aug 11, 2018
1 parent 234f105 commit 402bfee
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions _provisioning/an-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
FROM node:alpine
FROM rustlang/rust:nightly

LABEL AUTHOR="Nelson Herbin <[email protected]>"
LABEL NAME=tricoteuses-an-api
LABEL VERSION=1

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

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

WORKDIR tricoteuses-api-assemblee

RUN npm install --verbose

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 402bfee

Please sign in to comment.