Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change code #38

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to Azure
on:
push:
branches:
- 'main'
- '**'

jobs:
deploy:
Expand All @@ -24,4 +24,4 @@ jobs:

- name: Deploy to Azure
run: |
az containerapp up -n $AZURE_APP_NAME --ingress external --source .
az containerapp up -n $AZURE_APP_NAME --ingress external --target-port 3000 --source .
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:18-slim
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN npm install --production
EXPOSE 3000
CMD ["npm", "start"]
2 changes: 1 addition & 1 deletion public/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ BODY {
}

#result {
background-color: #5362e0;
background-color: #f6f7ff;
width: 226px;
height: 63px;
margin: 0;
Expand Down
Loading