mirror of https://github.com/Bunsly/JobSpy
Add mac platform to docker (#27)
parent
e9f41e4f88
commit
9550886091
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"experimental": "enabled"
|
||||||
|
}
|
|
@ -3,7 +3,7 @@ name: Build and Push Docker Image
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- patch_docker
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -30,4 +30,4 @@ jobs:
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{ github.repository_owner }}/jobspy:latest
|
tags: ghcr.io/${{ github.repository_owner }}/jobspy:latest
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|
|
@ -12,4 +12,4 @@ EXPOSE 8000
|
||||||
|
|
||||||
ENV PORT=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"
|
Loading…
Reference in New Issue