getapi commited on
Commit
fa1cd1b
1 Parent(s): c0a0581

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+ RUN useradd -m -u 1000 user
3
+ WORKDIR /code
4
+ RUN pip install fastapi apscheduler uvicorn git+https://github.com/bluet/proxybroker2.git
5
+ COPY --chown=user . .
6
+ RUN chmod 777 /code && chmod 777 /code/*
7
+ CMD python /code/app.py