Updated Dockerfile and build.yaml
All checks were successful
Build Pogdark API / Build Pogdark API (push) Successful in 9m41s

This commit is contained in:
whysman 2024-11-07 00:10:52 -05:00
parent bd3036e537
commit 07a0eb2f2e
2 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,10 @@ jobs:
run: |
go build -o pogdark-api .
- name: Confirm file presence
run: |
ls -al .
- name: Build Docker Image
run: |
docker build -t localhost:5000/pogdark-api:latest .

View File

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