set up docker image
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM python:3.10
|
||||
|
||||
RUN apt update && apt install libpq-dev
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN python -m pip install poetry && \
|
||||
poetry config virtualenvs.create false && \
|
||||
poetry install
|
||||
|
||||
CMD ./serve.sh
|
||||
Reference in New Issue
Block a user