Skip to content

Commit

Permalink
Add initial dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Nov 3, 2023
1 parent cece7db commit 30157fb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build-n-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
cache: false

- name: Build Linux binary
run: GOOS=linux GOARCH=amd64 go build

- name: Build Docker image
run:k
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM busybox
copy ./az-appservice /az-appservice
CMD ["/az-appservice"]
EXPOSE 8001

0 comments on commit 30157fb

Please sign in to comment.