fix: fix terminal not opening in Docker and slim down Docker image
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,9 +12,6 @@ RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
python3 \
|
||||
python3-pip \
|
||||
gcc \
|
||||
g++ \
|
||||
make \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY dist/${TARGETARCH}/codeg-server /usr/local/bin/codeg-server
|
||||
@@ -24,6 +21,7 @@ ENV CODEG_STATIC_DIR=/app/web
|
||||
ENV CODEG_DATA_DIR=/data
|
||||
ENV CODEG_PORT=3080
|
||||
ENV CODEG_HOST=0.0.0.0
|
||||
ENV SHELL=/bin/bash
|
||||
|
||||
EXPOSE 3080
|
||||
VOLUME /data
|
||||
|
||||
Reference in New Issue
Block a user