Compare commits
No commits in common. "10a873ee7ad8954d61c9587125f50ac9b96fcb2c" and "926da5a6cdbbc6a855df9b3252b9fe84d30ffe66" have entirely different histories.
10a873ee7a
...
926da5a6cd
13
Dockerfile
13
Dockerfile
@ -1,13 +0,0 @@
|
|||||||
FROM python:3.11-slim
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
COPY requirements.txt ./
|
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
|
||||||
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
EXPOSE 5000
|
|
||||||
|
|
||||||
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "app:app"]
|
|
@ -1,3 +1,2 @@
|
|||||||
# guestbook
|
# guestbook
|
||||||
A guestbook made in Python. Made for embedding into other webpages.
|
A guestbook made in Python.
|
||||||
![](https://fzorb.xyz/i/c69ud.png)
|
|
@ -1,10 +0,0 @@
|
|||||||
services:
|
|
||||||
web:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
ports:
|
|
||||||
- "44324:5000"
|
|
||||||
volumes:
|
|
||||||
- ./guestbook.db:/app/guestbook.db
|
|
||||||
environment:
|
|
||||||
- FLASK_ENV=production
|
|
Loading…
Reference in New Issue
Block a user