diff --git a/_provisioning/an-api/Dockerfile b/_provisioning/an-api/Dockerfile index 5b54b69..a05f29f 100644 --- a/_provisioning/an-api/Dockerfile +++ b/_provisioning/an-api/Dockerfile @@ -1,20 +1,9 @@ -FROM node:alpine +FROM rustlang/rust:nightly LABEL AUTHOR="Nelson Herbin " 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