Skip to content

Commit

Permalink
Update osmcha frontend container
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Feb 6, 2024
1 parent 4591171 commit cdf61f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions images/osmcha-web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ FROM node:16-slim as builder
ENV DEBIAN_FRONTEND noninteractive
ENV BUILD_ENV=prod
ENV REACT_APP_PRODUCTION_API_URL=/api/v1
RUN apt-get update && apt-get install -y git
RUN apt-get update && apt-get install -y git \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /app
WORKDIR /app
RUN git clone https://github.com/osmus/osmcha-frontend.git /app
ARG GIT_TAG=master
RUN git clone --branch $GIT_TAG https://github.com/osmus/osmcha-frontend.git /app
RUN yarn install
COPY start.sh .
CMD [ "/app/start.sh" ]

0 comments on commit cdf61f3

Please sign in to comment.