Add mac platform to docker (#27)

pull/29/head
Cullen Watson 2023-08-28 13:45:32 -05:00 committed by GitHub
parent e9f41e4f88
commit 9550886091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

3
.docker/config.json Normal file
View File

@ -0,0 +1,3 @@
{
"experimental": "enabled"
}

View File

@ -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

View File

@ -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"