Spaces:
Sleeping
Sleeping
LeireTedCas
commited on
Commit
•
763e0f0
1
Parent(s):
948953a
Delete Dockerfile
Browse files- Dockerfile +0 -25
Dockerfile
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
# syntax=docker/dockerfile:1
|
2 |
-
|
3 |
-
FROM python:3.8
|
4 |
-
|
5 |
-
RUN apt-get update && apt-get install -y portaudio19-dev
|
6 |
-
|
7 |
-
WORKDIR /app
|
8 |
-
|
9 |
-
COPY requirements.txt requirements.txt
|
10 |
-
RUN pip3 install -r requirements.txt
|
11 |
-
|
12 |
-
# Switch to the "user" user
|
13 |
-
USER user
|
14 |
-
|
15 |
-
# Set home to the user's home directory
|
16 |
-
ENV HOME=/home/user \
|
17 |
-
PATH=/home/user/.local/bin:$PATH
|
18 |
-
|
19 |
-
# Set the working directory to the user's home directory
|
20 |
-
WORKDIR $HOME/app
|
21 |
-
|
22 |
-
COPY . .
|
23 |
-
|
24 |
-
EXPOSE 5000
|
25 |
-
CMD [ "python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|