Default local client endpoints to UAT
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ ARG GODOT_RELEASE=${GODOT_VERSION}-stable
|
||||
ARG GODOT_TEMPLATE_DIR=${GODOT_VERSION}.stable
|
||||
ARG BUILD_REVISION=development
|
||||
ARG DEPLOYMENT_ENVIRONMENT=production
|
||||
ARG PUBLIC_API_ORIGIN=https://s3q.ranaze.com
|
||||
ARG PUBLIC_API_ORIGIN=https://us3q.ranaze.com
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
@@ -33,7 +33,7 @@ COPY . .
|
||||
RUN mkdir -p /build \
|
||||
&& sed -i "s|build_revision=\"development\"|build_revision=\"${BUILD_REVISION}\"|" project.godot \
|
||||
&& sed -i "s|deployment_environment=\"development\"|deployment_environment=\"${DEPLOYMENT_ENVIRONMENT}\"|" project.godot \
|
||||
&& sed -i "s|https://s3q.ranaze.com|${PUBLIC_API_ORIGIN}|g" project.godot \
|
||||
&& sed -i "s|https://us3q.ranaze.com|${PUBLIC_API_ORIGIN}|g" project.godot \
|
||||
&& sed -i "s|custom_template/release=\"\"|custom_template/release=\"/root/.local/share/godot/export_templates/${GODOT_TEMPLATE_DIR}/web_nothreads_release.zip\"|" export_presets.cfg \
|
||||
&& godot --headless --editor --path /src --quit \
|
||||
&& godot --verbose --headless --path /src --export-release Web /build/index.html \
|
||||
|
||||
Reference in New Issue
Block a user