GetMerlin2API / Dockerfile
longxingdeng's picture
Update Dockerfile
d717b65 verified
raw
history blame contribute delete
255 Bytes
FROM golang:1.23-bullseye
WORKDIR /app
ENV UUID="0e0946d8-cb6c-46ba-a554-049075d20a86"
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"]