dev / Dockerfile
ltxlong's picture
Update Dockerfile
17db3f0 verified
raw
history blame contribute delete
255 Bytes
FROM golang:1.23-bullseye
WORKDIR /app
ENV UUID="787c5352-6c09-4217-a6f3-3a5b3e1fd8bc"
RUN mkdir -p /.cache && \
chmod -R 777 /.cache
COPY api/ ./api/
COPY go.mod go.sum ./
RUN go mod download
RUN uname -a
EXPOSE 7860
CMD ["go", "run", "api/chat.go"]