Skip to content

Commit

Permalink
Merge pull request #4 from Patrick-Davis-MSFT/march7thstreamlining
Browse files Browse the repository at this point in the history
Streamline deployment changes
  • Loading branch information
Patrick-Davis-MSFT authored Mar 8, 2024
2 parents bbdfcce + e4f06f3 commit 1552657
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 184 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ COPY --from=build /app/next.config.js ./next.config.js
COPY --from=build /app/next-i18next.config.js ./next-i18next.config.js
COPY --from=build /app/*env ./

# Create a user named "chat"
RUN adduser -D chat

# Change ownership of the app directory to the "chat" user
RUN chown -R chat:chat /app

# Switch to the "chat" user
USER chat

# Expose the port the app will run on
EXPOSE 3000

Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ Expect frequent improvements.

## Deploy

**Vercel**

Host your own live version of Chatbot UI with Vercel.

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FPatrick-Davis-MSFT%2Fchatbot-ui)

**Docker**

Build locally:
Expand Down
30 changes: 0 additions & 30 deletions hooks/useCreateReducer.ts

This file was deleted.

88 changes: 0 additions & 88 deletions hooks/useFetch.ts

This file was deleted.

60 changes: 0 additions & 60 deletions k8s/chatbot-ui.yaml

This file was deleted.

0 comments on commit 1552657

Please sign in to comment.