Skip to content
Snippets Groups Projects
Commit 7226e607 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Use frontend-build as gitlab artifact in docker image

parent 953282a5
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ RUN apk add --update --no-cache postgresql-dev jpeg-dev build-base wget gzip zli
# Setup frontend
ENV FRONTEND_DIR="/frontend/dist"
RUN mkdir /frontend && wget --header "PRIVATE-TOKEN: $GITLAB_TOKEN" https://gitlab.com/arkindex/frontend/-/jobs/artifacts/$FRONTEND_BRANCH/download?job=frontend -O /tmp/frontend.zip && unzip /tmp/frontend.zip -d /frontend && rm /tmp/frontend.zip
RUN mkdir /frontend && wget --header "PRIVATE-TOKEN: $GITLAB_TOKEN" https://gitlab.com/arkindex/frontend/-/jobs/artifacts/$FRONTEND_BRANCH/download?job=frontend-build -O /tmp/frontend.zip && unzip /tmp/frontend.zip -d /frontend && rm /tmp/frontend.zip
# Install arkindex
ADD . /backend
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment