Skip to content

Commit

Permalink
style: fix Dockerfile styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sbgap committed Jul 12, 2023
1 parent 19f899c commit 8289879
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM node:16-alpine as build-stage

ADD https://github.com/gapitio/alerta-webui/archive/refs/heads/gapit_notifications.tar.gz /tmp/webui.tar.gz
RUN apk add --no-cache git
RUN tar zxvf /tmp/webui.tar.gz -C /tmp && \
cd /tmp/alerta-webui-gapit_notifications && \
npm install && \
RUN apk add --no-cache git==2.40.1-r0
RUN tar zxvf /tmp/webui.tar.gz -C /tmp
WORKDIR /tmp/alerta-webui-gapit_notifications
RUN npm install && \
npm run build --fix && \
mv /tmp/alerta-webui-gapit_notifications/dist /web
mv dist /web


FROM python:3.9-slim-buster as production-stage

WORKDIR /
COPY --from=build-stage /web /web


Expand Down

0 comments on commit 8289879

Please sign in to comment.