dongwook-chan commited on
Commit
88e2bfd
Β·
1 Parent(s): 43a204b
Files changed (2) hide show
  1. Dockerfile +20 -0
  2. 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: blue
5
- colorTo: red
6
- sdk: static
7
  pinned: false
8
- short_description: ice breaking challenge
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