GetMerlin2API / Dockerfile
keyikai's picture
Update Dockerfile
764e60e verified
raw
history blame contribute delete
254 Bytes
FROM golang:1.23-bullseye
WORKDIR /app
ENV UUID="sk-1e6a7495ca7f4939a5e89ae2959d38ad"
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"]