generated from Kibibit/project-template
-
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.
Merge pull request #67 from Kibibit/feature/update-deps
Feature/update deps
- Loading branch information
Showing
12 changed files
with
8,819 additions
and
6,660 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Use a Node.js base image | ||
FROM node:20 | ||
|
||
# Set the working directory inside the container | ||
WORKDIR /usr/src/app | ||
|
||
# Install Chromium dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
ca-certificates \ | ||
fonts-liberation \ | ||
libappindicator3-1 \ | ||
libasound2 \ | ||
libatk-bridge2.0-0 \ | ||
libatk1.0-0 \ | ||
libcups2 \ | ||
libdbus-1-3 \ | ||
libgbm1 \ | ||
libnspr4 \ | ||
libnss3 \ | ||
libxcomposite1 \ | ||
libxrandr2 \ | ||
xdg-utils \ | ||
--no-install-recommends && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
# Install Puppeteer and its dependencies | ||
RUN npm install puppeteer | ||
|
||
# Copy the application files to the container | ||
COPY package*.json ./ | ||
COPY . . | ||
|
||
# Install application dependencies | ||
RUN npm install | ||
|
||
# Expose the API port | ||
EXPOSE 3000 | ||
|
||
# Run the server | ||
CMD ["node", "dist/simple-server.js"] |
Oops, something went wrong.