added docker prodbuild and dev env
This commit is contained in:
6
.build/prod/compose.yml
Normal file
6
.build/prod/compose.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
services:
|
||||
proxy:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: .build/prod/proxy.Dockerfile
|
||||
image: git.shihaam.dev/sarlink/omada-api-proxy/proxy
|
||||
7
.build/prod/proxy.Dockerfile
Normal file
7
.build/prod/proxy.Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM python:3.12.7-slim-bookworm
|
||||
|
||||
WORKDIR /var/www/html
|
||||
COPY . .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
CMD python proxy.py
|
||||
Reference in New Issue
Block a user