Base design

This commit is contained in:
2025-12-01 15:30:36 +03:00
parent a8473eec11
commit 79bad39bd9
27 changed files with 2466 additions and 382 deletions

View File

@@ -1,4 +1,12 @@
FROM alpine:3 AS build
FROM node:25-alpine AS node-build-stage
COPY ./watcher_visio/static ./
RUN npx tailwindcss \
-i input.css \
-o ./tailwind.css --minify
FROM alpine:3 AS venv-build-stage
RUN apk update && \
apk add --no-cache --virtual .build-deps \
@@ -25,7 +33,7 @@ RUN apk add --no-cache --update python3
COPY --from=build /venv /venv
RUN mkdir /app
COPY ./watcher_visio/ /app
COPY --from=build /app /app
WORKDIR /app
CMD [ "python", "manage.py", "runserver", "0.0.0.0:5000" ]
CMD [ "python", "manage.py", "runserver", "0.0.0.0:8000" ]