Update bonkers
This commit is contained in:
25
Dockerfile
25
Dockerfile
@@ -1,10 +1,29 @@
|
|||||||
FROM debian:stable
|
FROM debian:stable
|
||||||
|
|
||||||
# Install Node.js (version 22)
|
# Install Node.js (version 22) + Python3 + pip
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y curl && \
|
apt-get install -y curl python3 python3-pip && \
|
||||||
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
|
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
|
||||||
apt-get install -y nodejs && \
|
apt-get install -y nodejs && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
EXPOSE 3000
|
# Upgrade pip and install Python dependencies
|
||||||
|
RUN python3 -m pip install --upgrade pip && \
|
||||||
|
python3 -m pip install boto3 pymysql
|
||||||
|
|
||||||
|
# Set working directory for Node.js app
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Copy package.json + package-lock.json first to leverage Docker cache
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Install Node.js dependencies
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
# Copy the rest of the app
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
# Start your Node.js app
|
||||||
|
CMD ["node", "index.js"]
|
||||||
|
|||||||
26
NOTICE
Normal file
26
NOTICE
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Third-Party Notices
|
||||||
|
|
||||||
|
This project uses the following third-party software:
|
||||||
|
|
||||||
|
1. **Node.js** - MIT License
|
||||||
|
https://nodejs.org/
|
||||||
|
|
||||||
|
2. **Express** - MIT License
|
||||||
|
https://github.com/expressjs/express
|
||||||
|
|
||||||
|
3. **aws-sdk (JavaScript)** - Apache License 2.0
|
||||||
|
https://github.com/aws/aws-sdk-js
|
||||||
|
A copy of the license can be found in [LICENSES/aws-sdk.txt]
|
||||||
|
|
||||||
|
4. **boto3 (Python)** - Apache License 2.0
|
||||||
|
https://github.com/boto/boto3
|
||||||
|
Bundled in Docker image
|
||||||
|
A copy of the license can be found in [LICENSES/boto3.txt]
|
||||||
|
|
||||||
|
5. **PyMySQL** - MIT License
|
||||||
|
https://github.com/PyMySQL/PyMySQL
|
||||||
|
Bundled in Docker image, MIT licensed.
|
||||||
|
|
||||||
|
# End of Third-Party Notices
|
||||||
|
|
||||||
|
Please refer to the respective licenses for more details, some of which are at orchestrator-licenses.txt
|
||||||
2526
orchestrator-licenses.txt
Normal file
2526
orchestrator-licenses.txt
Normal file
File diff suppressed because it is too large
Load Diff
3049
package-lock.json
generated
3049
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -16,5 +16,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"aws-sdk": "^2.1692.0",
|
"aws-sdk": "^2.1692.0",
|
||||||
"express": "^5.1.0"
|
"express": "^5.1.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"generate-license-file": "^4.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user