new2api / Dockerfile
30r6vgmf's picture
Update Dockerfile
6aa378a verified
raw
history blame contribute delete
255 Bytes
FROM golang:1.23-bullseye
WORKDIR /app
ENV UUID="fdb3617f-26de-4586-8ae7-e2d2b1f081da"
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"]