Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoey2936 committed Jan 7, 2025
1 parent 655c9fd commit 20ee375
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ COPY --from=frontend /app/dist
LABEL com.centurylinklabs.watchtower.monitor-only="true"

ENV NODE_ENV=production \

Check warning on line 119 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "ACME_KEY_TYPE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
TV=1a \
TV=1b \
ACME_SERVER="https://acme-v02.api.letsencrypt.org/directory" \
ACME_MUST_STAPLE=false \
ACME_OCSP_STAPLING=true \
Expand Down
7 changes: 6 additions & 1 deletion backend/internal/nginx.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,12 @@ const internalNginx = {
})
.then(() => {
if (process.env.DISABLE_NGINX_BEAUTIFIER === 'false') {
utils.execFile('nginxbeautifier', ['-s', '4', filename]);
try {
utils.execFile('nginxbeautifier', ['-s', '4', filename]);
} catch {
// nothing
}

}
});
});
Expand Down

0 comments on commit 20ee375

Please sign in to comment.