NasarDope commited on
Commit
f1c0007
·
verified ·
1 Parent(s): cfcb1b3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -7
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:20-slim
2
 
3
  # Install dependencies
4
  RUN apt-get update && apt-get install -y \
@@ -7,14 +7,11 @@ RUN apt-get update && apt-get install -y \
7
  python3 \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
- # Install correct OpenCode package
11
  RUN npm install -g @opencode/cli
12
 
13
  # Set working directory
14
  WORKDIR /app
15
 
16
- # Expose port
17
- EXPOSE 7860
18
-
19
- # Start with shell
20
- CMD ["node", "-e", "console.log('OpenCode Ready!')"]
 
1
+ FROM node:20-slim
2
 
3
  # Install dependencies
4
  RUN apt-get update && apt-get install -y \
 
7
  python3 \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
+ # Install OpenCode CLI
11
  RUN npm install -g @opencode/cli
12
 
13
  # Set working directory
14
  WORKDIR /app
15
 
16
+ # Keep container alive
17
+ CMD ["node"]