MetaGuard / Dockerfile
parth-1's picture
Rename dockerfile to Dockerfile
ce665a2 verified
raw
history blame contribute delete
355 Bytes
FROM python:3.11-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY pyproject.toml requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN pip install --no-cache-dir --no-deps .
RUN chmod +x apps/start.sh
EXPOSE 8000
CMD ["./apps/start.sh"]