nfsn commited on
Commit
358d591
·
verified ·
1 Parent(s): a23421d

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
+ RUN mkdir -p /.cache && \
4
+ chmod -R 777 /.cache
5
+ COPY api/ ./api/
6
+ COPY go.mod ./
7
+ RUN go mod download
8
+ RUN uname -a
9
+ EXPOSE 7860
10
+ CMD ["go", "run", "api/main.go"]