Skip to content

Commit

Permalink
Dockerize the application
Browse files Browse the repository at this point in the history
  • Loading branch information
paramsiddharth committed Dec 15, 2020
1 parent 510f4b4 commit 5fd2d01
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Minimal Python container
FROM python:3.8-alpine

# Copy files to container
WORKDIR /app
ADD . /app

# Install dependencies
RUN pip install -r requirements.txt

# Port
EXPOSE 5000

# Start the application
CMD ["flask", "run", "--host=0.0.0.0"]
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ Flask-SQLAlchemy==2.4.4
itsdangerous==1.1.0
Jinja2==2.11.2
MarkupSafe==1.1.1
pkg-resources==0.0.0
SQLAlchemy==1.3.20
Werkzeug==1.0.1

0 comments on commit 5fd2d01

Please sign in to comment.