一个手机快速搜索商品的网页
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
FROM python:3.11-slim
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY app app
|
||||
COPY static static
|
||||
COPY README.md README.md
|
||||
ENV PORT=57777
|
||||
RUN mkdir -p /app/data
|
||||
EXPOSE 57777
|
||||
CMD ["sh","-c","uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-57777}"]
|
||||
Reference in New Issue
Block a user