Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Commit 0d9c90c

Browse files
fix: docker image permission issue (formbricks#2987)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
1 parent 3ba23e1 commit 0d9c90c

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

apps/web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RUN PRISMA_VERSION=$(cat prisma_version.txt) && npm install -g prisma@$PRISMA_VE
8787

8888
EXPOSE 3000
8989
ENV HOSTNAME "0.0.0.0"
90-
USER nextjs
90+
# USER nextjs
9191

9292
# Prepare volume for uploads
9393
RUN mkdir -p /home/nextjs/apps/web/uploads/

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@formbricks/web",
3-
"version": "2.4.1",
3+
"version": "2.4.2",
44
"private": true,
55
"scripts": {
66
"clean": "rimraf .turbo node_modules .next",

packages/database/data-migrations/20240801120500_thankYouCard_to_endings/data-migration.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ async function runMigration(): Promise<void> {
4949
const updatedSurvey: UpdatedSurvey = structuredClone(survey) as UpdatedSurvey;
5050

5151
if (survey.redirectUrl) {
52-
// @ts-expect-error -- TS is not able to infer the type of updatedSurvey
5352
updatedSurvey.endings = [
5453
{
5554
type: "redirectToUrl",
@@ -59,7 +58,6 @@ async function runMigration(): Promise<void> {
5958
},
6059
];
6160
} else if (survey.thankYouCard?.enabled) {
62-
// @ts-expect-error -- TS is not able to infer the type of updatedSurvey
6361
updatedSurvey.endings = [
6462
{
6563
...survey.thankYouCard,
@@ -68,7 +66,6 @@ async function runMigration(): Promise<void> {
6866
},
6967
];
7068
} else {
71-
// @ts-expect-error -- TS is not able to infer the type of updatedSurvey
7269
updatedSurvey.endings = [];
7370
}
7471

packages/types/surveys/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export type TSurveyEnding = z.infer<typeof ZSurveyEnding>;
5050

5151
export const ZSurveyEndings = z.array(ZSurveyEnding);
5252

53-
export type TSurveyEndings = z.infer<typeof ZSurveyEnding>;
53+
export type TSurveyEndings = z.infer<typeof ZSurveyEndings>;
5454

5555
export enum TSurveyQuestionTypeEnum {
5656
FileUpload = "fileUpload",

0 commit comments

Comments
 (0)