Skip to content

Commit

Permalink
Add initial Docker set up
Browse files Browse the repository at this point in the history
  • Loading branch information
osmandin committed Jan 13, 2022
1 parent 1ae5f66 commit 333c8a2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM python:3.9-slim as build
WORKDIR /app
COPY . .

RUN pip install --no-cache-dir --upgrade pip pipenv

RUN apt-get update && apt-get upgrade -y && apt-get install -y git

COPY Pipfile* /
RUN pipenv install

ADD startup.sh /
RUN chmod +x /startup.sh

CMD ["/startup.sh"]
5 changes: 5 additions & 0 deletions startup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

pipenv run deposit
pipenv run listen

0 comments on commit 333c8a2

Please sign in to comment.