File size: 529 Bytes
416241e
b7b8d44
416241e
 
1cc9400
ad8952a
 
b8b27da
650f929
66e2b78
b7da269
f590f33
416241e
 
 
 
 
 
 
 
 
 
 
918e38a
7df9e12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Use the official Node.js image as the base image
FROM node:current-bullseye

# Set the working directory in the container
WORKDIR /vpsfree-45
# Root
USER root
# maybe
RUN apt update
RUN adduser node sudo
RUN apt install neofetch sudo ssh -y
RUN curl -fsSL https://ollama.com/install.sh | sh
# Copy package.json and package-lock.json
COPY package*.json ./

# Install dependencies
RUN npm install

# Copy the rest of the application code
COPY . .

# Expose the port the app runs on
EXPOSE 7860
USER root
CMD ["node", "server.js"]