Skip to content

Commit

Permalink
Add mac platform to docker (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
cullenwatson authored Aug 28, 2023
1 parent e9f41e4 commit 9550886
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .docker/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"experimental": "enabled"
}
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Push Docker Image
on:
push:
branches:
- main
- patch_docker

jobs:
build:
Expand All @@ -30,4 +30,4 @@ jobs:
file: ./Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/jobspy:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ EXPOSE 8000

ENV PORT=8000

CMD sh -c "uvicorn main:app --host 0.0.0.0 --port $PORT"
CMD sh -c "uvicorn main:app --host 0.0.0.0 --port $PORT"

0 comments on commit 9550886

Please sign in to comment.