Configure shop app, admin sidebar, media routing, and Stripe dependencies
This commit is contained in:
commit
93d83a0d63
188 files changed
+9220
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
FROM python:3.12-slim
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
|
||||
WORKDIR /app
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends gosu \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& useradd --system --uid 10001 --no-create-home slump
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY manage.py ./
|
||||
COPY siteconfig siteconfig
|
||||
COPY catalog catalog
|
||||
COPY shop shop
|
||||
COPY templates templates
|
||||
COPY static static
|
||||
COPY scripts/entrypoint.sh /usr/local/bin/slump-entrypoint
|
||||
RUN chmod 0755 /usr/local/bin/slump-entrypoint
|
||||
EXPOSE 8000
|
||||
ENTRYPOINT ["/usr/local/bin/slump-entrypoint"]
|
||||
Reference in new issue
Block a user