Add mac platform to docker (#27)

This commit is contained in:
Cullen Watson
2023-08-28 13:45:32 -05:00
committed by GitHub
parent e9f41e4f88
commit 9550886091
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:
push:
branches:
- main
- patch_docker
jobs:
build:
@@ -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

View File

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