Create Dockerfile
Browse files- Dockerfile +23 -0
Dockerfile
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ubuntu:22.04
|
| 2 |
+
|
| 3 |
+
# Update package lists
|
| 4 |
+
RUN apt-get update
|
| 5 |
+
|
| 6 |
+
# Install curl and other dependencies
|
| 7 |
+
RUN apt-get install -y curl
|
| 8 |
+
|
| 9 |
+
# Add NodeSource repository for Node.js LTS
|
| 10 |
+
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
| 11 |
+
# Install Node.js and npm
|
| 12 |
+
RUN apt-get install -y nodejs
|
| 13 |
+
|
| 14 |
+
# Install Python and pip
|
| 15 |
+
RUN apt-get install -y python3 python3-pip
|
| 16 |
+
# With pip.
|
| 17 |
+
RUN pip install uv
|
| 18 |
+
|
| 19 |
+
RUN npm i -g @dadigua/hyper-chat
|
| 20 |
+
|
| 21 |
+
ENV NODE_ENV=production
|
| 22 |
+
|
| 23 |
+
CMD ["npx", "hyper-chat"]
|