Spaces:
Sleeping
Sleeping
Delete Dockerfile-custom
Browse files- Dockerfile-custom +0 -16
Dockerfile-custom
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
FROM docker.io/library/python:3.9
|
2 |
-
|
3 |
-
# Install dependencies for building SentencePiece
|
4 |
-
RUN apt-get update && \
|
5 |
-
apt-get install -y protobuf-compiler libprotobuf-dev cmake zlib1g-dev git wget && \
|
6 |
-
rm -rf /var/lib/apt/lists/*
|
7 |
-
|
8 |
-
WORKDIR /code
|
9 |
-
COPY requirements.txt /code/requirements.txt
|
10 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
-
|
12 |
-
# Copy only the source code after installing the dependencies
|
13 |
-
COPY . /code
|
14 |
-
|
15 |
-
USER 1000
|
16 |
-
CMD ["uvicorn", "./main:app", "--host", "0.0.0.0", "--port", "80"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|