Compare commits
No commits in common. "f50bbca48eacdbda58f8aedf80c0ce4e63be1510" and "49361149429a5c0558163058ccff94ec39def9a8" have entirely different histories.
f50bbca48e
...
4936114942
14
Dockerfile
14
Dockerfile
|
@ -1,14 +0,0 @@
|
||||||
FROM python:3.11-slim-bullseye
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
RUN rm /etc/localtime
|
|
||||||
RUN ln -s /usr/share/zoneinfo/Europe/Kyiv /etc/localtime
|
|
||||||
|
|
||||||
COPY ./requirements.txt /app/requirements.txt
|
|
||||||
|
|
||||||
RUN python -m pip install -r requirements.txt
|
|
||||||
|
|
||||||
COPY ./app/ /app/app/
|
|
||||||
|
|
||||||
CMD flask run -h 0.0.0.0 -p $PORT
|
|
|
@ -1,12 +0,0 @@
|
||||||
version: '3'
|
|
||||||
|
|
||||||
services:
|
|
||||||
app:
|
|
||||||
restart: unless-stopped
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
environment:
|
|
||||||
PORT: "12402"
|
|
||||||
ports:
|
|
||||||
- "12402:12402"
|
|
Loading…
Reference in New Issue