Spaces:
Sleeping
Sleeping
SushantGautam
commited on
Commit
•
eea34fa
1
Parent(s):
b6cbfe7
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
FROM continuumio/miniconda3
|
2 |
|
|
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY . /app
|
@@ -11,6 +13,8 @@ RUN apt-get update && apt-get install -y \
|
|
11 |
|
12 |
RUN conda env create -f environment.yml
|
13 |
|
|
|
|
|
14 |
EXPOSE 7860
|
15 |
|
16 |
# CMD ["conda", "run", "-n", "playerTV", "python", "app.py"]
|
|
|
1 |
FROM continuumio/miniconda3
|
2 |
|
3 |
+
RUN useradd -m -u 1000 user
|
4 |
+
|
5 |
WORKDIR /app
|
6 |
|
7 |
COPY . /app
|
|
|
13 |
|
14 |
RUN conda env create -f environment.yml
|
15 |
|
16 |
+
RUN chmod -R 777 /app/
|
17 |
+
|
18 |
EXPOSE 7860
|
19 |
|
20 |
# CMD ["conda", "run", "-n", "playerTV", "python", "app.py"]
|