dockerized

This commit is contained in:
Justin Paul
2023-10-31 09:11:54 -04:00
parent 99b4472d88
commit 11d13ae0ef
10 changed files with 14 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM python:alpine3.7
COPY /app /app
WORKDIR /app
RUN pip install -r requirements.txt
EXPOSE 5001
ENTRYPOINT [ "python" ]
CMD [ "portable.py" ]
View File
View File
View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Before

Width:  |  Height:  |  Size: 9.9 MiB

After

Width:  |  Height:  |  Size: 9.9 MiB

+7
View File
@@ -0,0 +1,7 @@
version: '3'
services:
13ft:
build: .
#image: your-image-name:tag
ports:
- "5000:5000"