Skip to content

Commit 80ea392

Browse files
committed
added orienting statements and expanding the flags for docker build
1 parent ef53a39 commit 80ea392

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

articles/container-apps/javascript-overview.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Azure Container Apps can run any containerized JavaScript application in the clo
1717

1818
## Configuration
1919

20+
Azure Container Apps enable you to streamline the deployment of your JavaScript applications through effective containerization including setting up environment variables, designing efficient Dockerfiles, and organizing your application's build process.
21+
2022
### Environment Variables
2123
Environment variables are crucial for configuring your application. Use a `.env` file to manage these variables locally and ensure they're securely managed in production with a service like [Azure Key Vault](/azure/key-vault/).
2224

@@ -79,8 +81,8 @@ For example:
7981
docker build \
8082
--build-arg PORT_DEFAULT=4000 \
8183
--build-arg ENABLE_DEBUG_DEFAULT=true \
82-
-t my-custom-image:latest \
83-
-f Dockerfile.base .
84+
--tag my-custom-image:latest \
85+
--file Dockerfile.base .
8486
```
8587

8688
In this example, the environment variables `PORT` and `ENABLE_DEBUG` are set to explicit values, instead of their default values.
@@ -235,6 +237,7 @@ Optimize your production build by including only the essential code and dependen
235237

236238
## Security
237239

240+
Security considerations for JavaScript developers using Azure Container Apps includes securing environment variables (such as using Azure Key Vault), ensuring HTTPS with proper certificate management, maintaining up-to-date dependencies with regular audits, and implementing robust logging and monitoring to quickly detect and respond to threats.
238241

239242
### Secure environment variables
240243

@@ -463,6 +466,8 @@ Use the [Azure Container Apps](https://marketplace.visualstudio.com/items?itemNa
463466

464467
## Troubleshooting
465468

469+
When your application runs into run time issues on Azure Container Apps, you can use logging, remote debugging, and health check alerts to find and resolve the issue.
470+
466471
### Logging
467472

468473
Enable and configure logging to capture application logs. Use Azure Monitor and Log Analytics to collect and analyze logs.

0 commit comments

Comments
 (0)