Skip to content

Commit

Permalink
chore: fix docker deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
swizzmagik committed Nov 28, 2024
1 parent c3436a1 commit fedd2ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

21 changes: 10 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,19 @@ ADD package.json /app/package.json
ADD .npmrc /app/.npmrc
ADD tsconfig.json /app/tsconfig.json
ADD pnpm-lock.yaml /app/pnpm-lock.yaml
RUN pnpm i

# Add the documentation
ADD docs /app/docs
RUN pnpm i

# Add the rest of the application code
# Add all necessary source code
ADD packages /app/packages
RUN pnpm i

# Add the environment variables
ADD scripts /app/scripts
ADD characters /app/characters
ADD .env /app/.env

# Command to run the container
CMD ["tail", "-f", "/dev/null"]
# Install dependencies and build packages
RUN pnpm install
RUN pnpm build

# Set the working directory to the agent package
WORKDIR /app/agent

# Command to run the agent
CMD ["pnpm", "start:all"]

0 comments on commit fedd2ca

Please sign in to comment.