Skip to content

Commit

Permalink
Updae build folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nyatindopatrick committed Sep 26, 2024
1 parent 32ab81c commit 9a57d7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- main
- develop
workflow_dispatch:

jobs:
build_and_deploy_dev:
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ RUN npm run build

FROM nginx:alpine
COPY ./docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/build /usr/share/nginx/html
COPY --from=build /app/dist /usr/share/nginx/html

CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 9a57d7e

Please sign in to comment.