mirror of
https://github.com/FunnyWolf/agentic-soc-platform.git
synced 2026-08-22 13:12:56 +02:00
Fix deployment script permissions
Ensure Docker Compose package scripts keep executable permissions and make the frontend certificate entrypoint executable in the image. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
@@ -59,6 +59,7 @@ rm -rf "$staging"
|
||||
mkdir -p "$dist_dir"
|
||||
cp -a "$source_dir" "$staging"
|
||||
rm -f "$staging/.env"
|
||||
chmod +x "$staging"/scripts/*.sh
|
||||
|
||||
env_example="$staging/.env.example"
|
||||
if [ -n "$backend_image" ]; then
|
||||
|
||||
@@ -16,6 +16,7 @@ RUN apk add --no-cache openssl
|
||||
|
||||
COPY nginx.conf.template /etc/nginx/templates/default.conf.template
|
||||
COPY docker-entrypoint.d/10-ensure-cert.sh /docker-entrypoint.d/10-ensure-cert.sh
|
||||
RUN chmod +x /docker-entrypoint.d/10-ensure-cert.sh
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
EXPOSE 443
|
||||
|
||||
Regular → Executable
Reference in New Issue
Block a user