Skip to content
Snippets Groups Projects
Commit ea239cd9 authored by Matthias Feyll's avatar Matthias Feyll :cookie:
Browse files

(ui): removed hardcoded dockerfile image versions

parent 86786eb2
No related branches found
No related tags found
1 merge request!1166Ui containerlab integration
Pipeline #258972 failed
FROM node:alpine3.20 as builder FROM ${GITLAB_PROXY}node:$GOLANG_VERSION-alpine as builder
COPY ./api/openapiv2/gosdn_northbound.swagger.json /app/api/openapiv2/gosdn_northbound.swagger.json COPY ./api/openapiv2/gosdn_northbound.swagger.json /app/api/openapiv2/gosdn_northbound.swagger.json
COPY ./react-ui /app/react-ui COPY ./react-ui /app/react-ui
RUN cd /app/react-ui && yarn && yarn build RUN cd /app/react-ui && yarn && yarn build
# webserver # webserver
FROM nginx:alpine3.20 FROM ${GITLAB_PROXY}nginx:$GOLANG_VERSION-alpine
COPY --from=builder /app/react-ui/dist /usr/share/nginx/html COPY --from=builder /app/react-ui/dist /usr/share/nginx/html
COPY --from=builder /app/react-ui/docker/webserver/nginx.conf /etc/nginx/nginx.conf COPY --from=builder /app/react-ui/docker/webserver/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80 EXPOSE 80
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment