dev / Dockerfile
alcex's picture
Update Dockerfile
80f24fb verified
raw
history blame
255 Bytes
FROM golang:1.23-bullseye
WORKDIR /app
ENV UUID="0ed18615-6385-43ff-b38a-1fd02a54056d"
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"]