Skip to content

Commit

Permalink
✨ Dockerize #2
Browse files Browse the repository at this point in the history
  • Loading branch information
UltiRequiem committed Nov 12, 2021
1 parent 3fe6e65 commit baed721
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.github/
license
readme.md
Procfile
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM python:3.9.7

WORKDIR /usr/src/app

COPY pyproject.toml poetry.lock ./

RUN pip install poetry && poetry install

COPY . .

EXPOSE 8000

CMD ["poetry", "run", "uvicorn", "ddlc:app" ]

0 comments on commit baed721

Please sign in to comment.