Skip to content

Commit

Permalink
fix: use the correct server package
Browse files Browse the repository at this point in the history
  • Loading branch information
just-a-node committed Jun 1, 2023
1 parent 0f98ea3 commit 1ca2884
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/sdk-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ARG TEMP_DEPS_DIR
COPY .yarn /tmp/build/.yarn/
COPY .yarnrc.yml /tmp/build/
COPY package.json /tmp/build/
COPY packages/examples/sdk-server/package.json /tmp/build/packages/examples/sdk-server/
COPY packages/agents/sdk/package.json /tmp/build/packages/agents/sdk/
COPY packages/adapters/cache/package.json /tmp/build/packages/adapters/cache/
COPY packages/adapters/subgraph/package.json /tmp/build/packages/adapters/subgraph/
Expand All @@ -38,6 +39,7 @@ RUN yarn install

# ----- Copy source and all other files that affect lint, test, build -----
COPY config config/
COPY packages/examples/sdk-server /tmp/build/packages/examples/sdk-server
COPY packages/agents/sdk /tmp/build/packages/agents/sdk
COPY packages/adapters/cache /tmp/build/packages/adapters/cache
COPY packages/adapters/subgraph /tmp/build/packages/adapters/subgraph
Expand Down Expand Up @@ -68,7 +70,7 @@ COPY --from=build --chown=node:node /tmp/build /home/node
# This user is created in the base image with uid and gid = 1000.
USER node

WORKDIR /home/node/packages/agents/sdk
WORKDIR /home/node/packages/examples/sdk-server

EXPOSE 8080

Expand Down

0 comments on commit 1ca2884

Please sign in to comment.