Files
landing/.devcontainer/Dockerfile
mifi 81abdf4539
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/push/deploy unknown status
Enable Playwright e2e tests in dev container and CI pipeline
2026-02-01 13:51:20 -03:00

32 lines
929 B
Docker

# Dev container for mifi Ventures static site
# Lightweight: Node for static server (npx serve), no app dependencies
FROM mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm
# Install system deps for static site tooling + Playwright (e2e tests)
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
# Playwright browser dependencies (so e2e tests run inside devcontainer)
libnspr4 \
libnss3 \
libatk1.0-0 \
libdbus-1-3 \
libatspi2.0-0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libxkbcommon0 \
libasound2 \
&& rm -rf /var/lib/apt/lists/*
# Ensure workspace dir exists (mount point)
RUN mkdir -p /workspaces/mifi-ventures-landing
# Default working directory
WORKDIR /workspaces/mifi-ventures-landing
# npx serve is used at runtime via postStartCommand
# No npm install needed — static site, no package.json