Python Lint CI / ruff (push) Successful in 1m13s
Python Lint CI / ty (push) Successful in 1m23s
Python Lint CI / ruff-format-check (push) Successful in 1m23s
TS Lint / Oxlint (push) Failing after 2m17s
TS Lint / ESLint (push) Successful in 3m0s
TS Lint / TypeScript (push) Successful in 2m47s
Docker Build / build (push) Successful in 6m4s
33 lines
474 B
Docker
33 lines
474 B
Docker
FROM oven/bun:latest AS front-end
|
|
|
|
WORKDIR /app
|
|
|
|
COPY *.json bun.lock ./
|
|
|
|
RUN bun ci
|
|
|
|
COPY *.ts index.html ./
|
|
COPY resources ./resources
|
|
|
|
RUN bun run build
|
|
|
|
FROM astral/uv:python3.14-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY uv.lock pyproject.toml ./
|
|
COPY app ./app/
|
|
RUN rm -rf ./app/lang
|
|
COPY resources/lang ./app/lang
|
|
|
|
RUN uv pip install . --system
|
|
|
|
ENV APP_ENV=production
|
|
ENV PORT=5000
|
|
EXPOSE ${PORT}
|
|
ENV BIND=0.0.0.0
|
|
|
|
COPY --from=front-end /app/dist ./dist
|
|
|
|
ENTRYPOINT [ "tout-doux" ]
|