Skip to content

Commit

Permalink
fix: add build for webapp
Browse files Browse the repository at this point in the history
Signed-off-by: ismael FALL <[email protected]>
  • Loading branch information
Doozers committed Aug 29, 2022
1 parent e2735a2 commit 5b60c1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ RUN apk add --no-cache python2 g++ make
WORKDIR /app
COPY ./web/package*.json ./web/yarn.* ./
RUN npm install --legacy-peer-deps
RUN npm install axios --legacy-peer-deps
RUN npm install axios --legacy-peer-deps
COPY ./web/ ./
RUN npm run build

# FIXME: avoid having those ARGs, make the runtime dynamic.
ARG NODE_ENV=developmment
ARG API_URL
Expand Down

0 comments on commit 5b60c1b

Please sign in to comment.