Skip to content

Commit

Permalink
use 80
Browse files Browse the repository at this point in the history
  • Loading branch information
whichwit committed Jan 30, 2025
1 parent 69f34af commit a0e30dc
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/utility-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
containerAppName: utility
resourceGroup: ${{ vars.ACA_RESOURCE_GROUP }}
containerAppEnvironment: ${{ vars.ACA_APP_ENVIRONMENT }}
targetPort: 8090
targetPort: 80
disableTelemetry: true
- name: Update revision
uses: azure/CLI@v2
Expand Down
2 changes: 1 addition & 1 deletion projects/VitalRecord.Utility/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY . .
RUN npm run build

# Expose port 8080
EXPOSE 8090
EXPOSE 80

# Start the app
CMD npm run start

Check warning on line 22 in projects/VitalRecord.Utility/Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
20 changes: 0 additions & 20 deletions projects/VitalRecord.Utility/app.js

This file was deleted.

2 changes: 1 addition & 1 deletion projects/VitalRecord.Utility/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Object.defineProperty(exports, "__esModule", { value: true });
const express_1 = __importDefault(require("express"));
const app = (0, express_1.default)();
const port = 3005;
const port = 80;
app.get('/', (req, res) => {
res.send('Hello from Express with TypeScript!');
});
Expand Down
13 changes: 0 additions & 13 deletions projects/VitalRecord.Utility/public/index.html

This file was deleted.

8 changes: 0 additions & 8 deletions projects/VitalRecord.Utility/public/stylesheets/style.css

This file was deleted.

9 changes: 0 additions & 9 deletions projects/VitalRecord.Utility/routes/index.js

This file was deleted.

9 changes: 0 additions & 9 deletions projects/VitalRecord.Utility/routes/users.js

This file was deleted.

0 comments on commit a0e30dc

Please sign in to comment.