set up docker image

This commit is contained in:
2022-06-03 08:48:17 -05:00
parent 1164e1e66c
commit 6577fe4396
5 changed files with 40 additions and 61 deletions

11
Dockerfile Normal file
View 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