Adding Dockerfile, cleaned up imports
Some checks failed
Build Pogdark API / Build Pogdark API (push) Failing after 5m2s
Some checks failed
Build Pogdark API / Build Pogdark API (push) Failing after 5m2s
This commit is contained in:
parent
75776d6ba3
commit
18487189e5
@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Go Binary
|
- name: Build Go Binary
|
||||||
run: |
|
run: |
|
||||||
go build -o app .
|
go build -o pogdark-api .
|
||||||
|
|
||||||
- name: List Binary Output
|
- name: List Binary Output
|
||||||
run: |
|
run: |
|
||||||
|
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM scratch
|
||||||
|
WORKDIR /app
|
||||||
|
COPY pogdark-api /app/
|
||||||
|
EXPOSE 8080
|
||||||
|
CMD ["/app/pogdark-api"]
|
Loading…
Reference in New Issue
Block a user