Adding Dockerfile, cleaned up imports
Some checks failed
Build Pogdark API / Build Pogdark API (push) Failing after 5m2s

This commit is contained in:
whysman 2024-11-06 22:59:54 -05:00
parent 75776d6ba3
commit 18487189e5
3 changed files with 6 additions and 2 deletions

View File

@ -28,7 +28,7 @@ jobs:
- name: Build Go Binary
run: |
go build -o app .
go build -o pogdark-api .
- name: List Binary Output
run: |

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM scratch
WORKDIR /app
COPY pogdark-api /app/
EXPOSE 8080
CMD ["/app/pogdark-api"]

1
go.mod
View File

@ -4,7 +4,6 @@ go 1.22
require (
github.com/go-redis/redis/v8 v8.11.5
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.3
)