Create Dockerfile
Browse files- 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
|