Commit 645ecf31 authored by Ai-Sasit's avatar Ai-Sasit

update docker

parent a2a0fbf3
...@@ -8,8 +8,8 @@ RUN go mod download ...@@ -8,8 +8,8 @@ RUN go mod download
COPY . /app COPY . /app
EXPOSE 80 RUN go build -o main .
CMD ["go", "run", "src/main.go"] CMD ["/app/main"]
...@@ -31,5 +31,5 @@ func main() { ...@@ -31,5 +31,5 @@ func main() {
routes.MenuRoute(app) //add this routes.MenuRoute(app) //add this
routes.CategoryRoute(app) routes.CategoryRoute(app)
app.Listen(":80") app.Listen(":5000")
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment