dongwook-chan
commited on
Commit
Β·
88e2bfd
1
Parent(s):
43a204b
Update
Browse files- Dockerfile +20 -0
- README.md +5 -5
Dockerfile
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use an official Python runtime as a parent image
|
2 |
+
FROM python:3.10-slim
|
3 |
+
|
4 |
+
# Set the working directory to /app
|
5 |
+
WORKDIR /app
|
6 |
+
|
7 |
+
# Copy the current directory contents into the container at /app
|
8 |
+
COPY . /app
|
9 |
+
|
10 |
+
# Install any needed packages specified in requirements.txt
|
11 |
+
RUN pip install -r requirements.txt
|
12 |
+
|
13 |
+
# Make port 7860 available to the world outside this container
|
14 |
+
EXPOSE 7860
|
15 |
+
|
16 |
+
# Define environment variable
|
17 |
+
ENV FLASK_APP=app.py
|
18 |
+
|
19 |
+
# Run app.py when the container launches
|
20 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
|
README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
---
|
2 |
title: Ice Breaking Challenge
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
-
sdk:
|
7 |
pinned: false
|
8 |
-
short_description:
|
9 |
---
|
10 |
|
11 |
# Ice Breaking Challenge
|
|
|
1 |
---
|
2 |
title: Ice Breaking Challenge
|
3 |
+
emoji: π
|
4 |
+
colorFrom: purple
|
5 |
+
colorTo: yellow
|
6 |
+
sdk: docker
|
7 |
pinned: false
|
8 |
+
short_description: ice_breaking_challenge
|
9 |
---
|
10 |
|
11 |
# Ice Breaking Challenge
|