feat(frontend): integrate tailwind pipeline and update templates
This commit is contained in:
@ -29,12 +29,15 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends libpq5 postgresql-client curl \
|
||||
&& apt-get install -y --no-install-recommends libpq5 postgresql-client curl nodejs npm \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=builder /opt/venv /opt/venv
|
||||
COPY . /app
|
||||
|
||||
RUN if [ -f package.json ]; then npm install --no-audit --no-fund; fi
|
||||
RUN if [ -f package.json ]; then npm run build; fi
|
||||
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
RUN mkdir -p /app/staticfiles /app/media /app/runtime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user