Foundation
This commit is contained in:
12
app/Dockerfile
Normal file
12
app/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.9-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
2
app/requirements.txt
Normal file
2
app/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
Flask
|
||||
mysql-connector-python
|
||||
0
app/templates/add_user.html
Normal file
0
app/templates/add_user.html
Normal file
0
app/templates/edit_user.html
Normal file
0
app/templates/edit_user.html
Normal file
0
app/templates/user_list.html
Normal file
0
app/templates/user_list.html
Normal file
Reference in New Issue
Block a user