Spaces:
Paused
Paused
:pencil: [Configs] create dockerfile for deployment in hf space
Browse files- Dockerfile +8 -0
Dockerfile
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
+
WORKDIR $HOME/app
|
| 3 |
+
COPY requirements.txt $HOME/app
|
| 4 |
+
RUN mkdir /.cache && chmod 777 /.cache
|
| 5 |
+
RUN pip install -r requirements.txt
|
| 6 |
+
COPY . $HOME/app
|
| 7 |
+
EXPOSE 22001
|
| 8 |
+
CMD ["python", "-m", "apps.data_proxy_app"]
|