ci: update dockerfile

fix path for sed command
This commit is contained in:
Sergej Tschigraj committed 2024-07-30 17:41:15 +02:00
1 parent 3004d41d9c
commit 14d4a6178e
1 file changed
+1 -1
+1 -1
View File
@@ -29,4 +29,4 @@ FROM nginx:stable-alpine
COPY --from=build /usr/src/app/dist/ /usr/share/nginx/html
COPY --from=build /usr/src/app/docker/nginx.conf /etc/nginx/conf.d/default.conf
CMD sed -i "s#http://localhost:3333#$BACKEND_URL#g" /usr/share/nginx/html/main.*.js && nginx -g 'daemon off;'
CMD sed -i "s#http://localhost:3333#$BACKEND_URL#g" /usr/share/nginx/html/main-*.js && nginx -g 'daemon off;'