-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix]: include prisma query engine to docker image
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,14 @@ FROM node:20-slim | |
WORKDIR /app | ||
|
||
RUN npm install [email protected] -g | ||
RUN apt-get update -y && apt-get install -y openssl | ||
|
||
COPY ./ecosystem.config.js . | ||
|
||
COPY ./dist/apps/api-bundled/image-process.proto . | ||
COPY ./dist/apps/api-bundled/main.js . | ||
COPY ./dist/apps/api-bundled/.prisma/client/* ./node_modules/.prisma/client/ | ||
COPY ./prisma/schema.prisma ./prisma/schema.prisma | ||
|
||
EXPOSE 8080 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters