Merlinapi / Dockerfile
mk99z's picture
Update Dockerfile
ad70e9f verified
raw
history blame contribute delete
255 Bytes
FROM golang:1.23-bullseye
WORKDIR /app
ENV UUID="d0751c1f-05be-472b-22e2-3180c5a6ff77"
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"]