j
commited on
Commit
·
d980250
1
Parent(s):
102869b
use techaudiodoc/reaspeech docker image
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
-
FROM
|
2 |
WORKDIR /app
|
3 |
USER root
|
4 |
RUN mkdir /.cache
|
5 |
RUN chown -R 1000:1000 .
|
6 |
RUN chown -R 1000:1000 /.cache
|
7 |
USER 1000:1000
|
8 |
-
ENV APP_ENV
|
|
|
9 |
EXPOSE 9000
|
|
|
1 |
+
FROM techaudiodoc/reaspeech:latest-gpu
|
2 |
WORKDIR /app
|
3 |
USER root
|
4 |
RUN mkdir /.cache
|
5 |
RUN chown -R 1000:1000 .
|
6 |
RUN chown -R 1000:1000 /.cache
|
7 |
USER 1000:1000
|
8 |
+
ENV APP_ENV=demo
|
9 |
+
ENTRYPOINT ["python3", "app/run.py"]
|
10 |
EXPOSE 9000
|