Delete Dockerfile
Browse files- Dockerfile +0 -33
Dockerfile
DELETED
|
@@ -1,33 +0,0 @@
|
|
| 1 |
-
FROM golang:1.25-alpine AS go-builder
|
| 2 |
-
|
| 3 |
-
RUN apk add --no-cache git ca-certificates
|
| 4 |
-
|
| 5 |
-
RUN git clone --depth 1 https://github.com/thangvv-tech/edge-tts.git /src
|
| 6 |
-
|
| 7 |
-
WORKDIR /src
|
| 8 |
-
|
| 9 |
-
RUN CGO_ENABLED=0 go build -o /edge-tts .
|
| 10 |
-
|
| 11 |
-
FROM python:3.13-slim
|
| 12 |
-
|
| 13 |
-
RUN apt-get update \
|
| 14 |
-
&& apt-get install -y --no-install-recommends ca-certificates \
|
| 15 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 16 |
-
|
| 17 |
-
COPY --from=go-builder /edge-tts /usr/local/bin/edge-tts
|
| 18 |
-
|
| 19 |
-
WORKDIR /app
|
| 20 |
-
|
| 21 |
-
COPY requirements.txt .
|
| 22 |
-
|
| 23 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 24 |
-
|
| 25 |
-
COPY app.py .
|
| 26 |
-
|
| 27 |
-
ENV PORT=8080
|
| 28 |
-
ENV GIN_MODE=debug
|
| 29 |
-
ENV VALKEY_REQUIRED=false
|
| 30 |
-
|
| 31 |
-
EXPOSE 7860
|
| 32 |
-
|
| 33 |
-
CMD ["bash", "-lc", "/usr/local/bin/edge-tts & python app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|