wrhb123 commited on
Commit
6772c77
·
verified ·
1 Parent(s): a8bd576

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM golang:1.23-bullseye
2
+ WORKDIR /app
3
+ ENV UUID="1c5627f1-b002-4c28-914f-95605ee34759"
4
+ RUN mkdir -p /.cache && chmod -R 777 /.cache
5
+ COPY api/ ./api/
6
+ COPY go.mod go.sum ./
7
+ RUN go mod download
8
+ RUN uname -a
9
+ EXPOSE 7860
10
+ CMD ["go", "run", "api/chat.go"]