[wip][ci] try to build docker image
This commit is contained in:
parent
5a0509a114
commit
948372fcbc
|
@ -40,3 +40,9 @@ run:
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- dist/*.whl
|
- dist/*.whl
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: docker:19.03.12-dind
|
||||||
|
script:
|
||||||
|
- apt-get install python3
|
||||||
|
- docker build -t halfapi .
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
# syntax=docker/dockerfile:1
|
||||||
|
FROM docker.io/python:3.8.12-slim-bullseye
|
||||||
|
COPY . /halfapi
|
||||||
|
WORKDIR /halfapi
|
||||||
|
RUN pip install .
|
||||||
|
CMD gunicorn halfapi.app
|
||||||
|
|
Loading…
Reference in New Issue