-
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.
- Loading branch information
Amir Ziaei
committed
Apr 5, 2024
1 parent
5dbc815
commit 6c768ba
Showing
5 changed files
with
8 additions
and
8 deletions.
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 |
---|---|---|
|
@@ -4,13 +4,13 @@ WORKDIR /usr/src/app | |
|
||
ENV NODE_ENV=production | ||
|
||
RUN bunx -y [email protected] install chromium --with-deps | ||
|
||
COPY package.json ./ | ||
RUN bun install | ||
RUN rm -rdf node_modules | ||
RUN bun install --production | ||
|
||
RUN bunx -y playwright install chromium --with-deps | ||
|
||
COPY . . | ||
|
||
ENTRYPOINT ["bun", "start"] |
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
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