Dispatcharr/docker/Dockerfile
SergeantPanda 92f30f5c4a Test build
2025-05-08 08:41:47 -05:00

14 lines
No EOL
354 B
Docker

FROM sergeantpanda/dispatcharr:base
COPY . /app
WORKDIR /app
# Install frontend
RUN corepack enable && corepack prepare yarn@stable --activate && \
cd frontend && yarn install && yarn build && \
rm -rf node_modules .cache
# Run collectstatic and other Django prep
RUN python manage.py collectstatic --noinput
CMD ["/app/docker/entrypoint.sh"]