feat: Dockerfile
Python Lint CI / ruff (push) Has been cancelled
Python Lint CI / ruff-format-check (push) Has been cancelled
Python Lint CI / ty (push) Has been cancelled

This commit is contained in:
2026-07-14 15:22:05 +02:00
parent 4ab7b06b8f
commit f4667b4f6e
3 changed files with 31 additions and 4 deletions
+30
View File
@@ -0,0 +1,30 @@
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 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" ]
+1 -1
View File
@@ -21,5 +21,5 @@
- [x] share link - [x] share link
- [ ] fill new list with "fill todo" item - [ ] fill new list with "fill todo" item
- [x] lang in cookies - [x] lang in cookies
- [ ] Dockerfile - [x] Dockerfile
- [ ] README - [ ] README
-3
View File
@@ -2,7 +2,6 @@
name = "tout-doux" name = "tout-doux"
version = "0.0.0" version = "0.0.0"
description = "" description = ""
readme = "README.md"
requires-python = ">=3.14" requires-python = ">=3.14"
dependencies = [ dependencies = [
"flask-limiter[redis]>=4.1.1,<5.0.0", "flask-limiter[redis]>=4.1.1,<5.0.0",
@@ -20,8 +19,6 @@ build-backend = "uv_build"
[dependency-groups] [dependency-groups]
dev = [ dev = [
"coverage>=7.13.5,<8.0.0",
"pytest>=9.0.3,<10.0.0",
"ruff>=0.15.12,<0.16.0", "ruff>=0.15.12,<0.16.0",
"ty>=0.0.34,<0.0.35", "ty>=0.0.34,<0.0.35",
] ]