Skip to content

Commit

Permalink
fix: fix WORKDIR in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
thaisguigon committed Jan 26, 2024
1 parent 1d01574 commit 1f51181
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/twenty-docker/prod/twenty-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ COPY ./packages/twenty-server /app/packages/twenty-server
RUN yarn workspaces focus twenty-emails twenty-server
RUN npx nx run twenty-server:build

WORKDIR /app/packages/twenty-server

LABEL org.opencontainers.image.source=https://github.com/twentyhq/twenty
LABEL org.opencontainers.image.description="This image provides a consistent and reproducible environment for the backend, ensuring it deploys faster and runs the same way regardless of the deployment environment."

Expand Down
3 changes: 1 addition & 2 deletions packages/twenty-server/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
"src/*": ["packages/twenty-server/src/*"]
}
},
"include": ["@types/**/*", "src/**/*"],
"exclude": ["node_modules", "src/**/*spec.ts"]
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
}

0 comments on commit 1f51181

Please sign in to comment.