Skip to content

Commit

Permalink
add adequated git clone command
Browse files Browse the repository at this point in the history
  • Loading branch information
Asone committed Jul 29, 2018
1 parent 2591477 commit b450083
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions _provisioning/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
FROM node:alpine

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

RUN apk update && apk upgrade && \
apk add --no-cache git nodejs npm
apk add --no-cache git nodejs

RUN git clone https://framagit.org/parlement-ouvert/tricoteuses-api
WORKDIR tricoteuses-ui/

RUN npm install
WORKDIR tricoteuses-api

CMD ["npm","start"]
EXPOSE 3000
RUN npm install --verbose

0 comments on commit b450083

Please sign in to comment.