Skip to content

Commit 5f43215

Browse files
authored
Update references to ./dist/src (#275)
1 parent a20c1d5 commit 5f43215

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ EXPOSE 3005
114114
COPY package*.json yarn*.lock ./
115115

116116
# Replace the schema path in the package.json file
117-
RUN sed -i 's_"schema": "./src/prisma/schema.prisma"_"schema": "./dist/src/prisma/schema.prisma"_g' package.json
117+
RUN sed -i 's_"schema": "./src/prisma/schema.prisma"_"schema": "./dist/prisma/schema.prisma"_g' package.json
118118

119119
# Copy only production dependencies from the prod-dependencies stage
120120
COPY --from=prod-dependencies /app/node_modules ./node_modules

src/db/scripts/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const main = async () => {
1414

1515
const schema =
1616
process.env.NODE_ENV === "production"
17-
? `./dist/src/prisma/schema.prisma`
17+
? `./dist/prisma/schema.prisma`
1818
: `./src/prisma/schema.prisma`;
1919

2020
if (hasWalletsTable) {

0 commit comments

Comments
 (0)