cloudflare/cloudflare-typescript
Publicmirrored fromhttps://github.com/cloudflare/cloudflare-typescriptAvailable
.devcontainer/Dockerfile
23lines · modecode
| 1 | # syntax=docker/dockerfile:1 |
| 2 | FROM debian:bookworm-slim AS stainless |
| 3 | |
| 4 | RUN apt-get update && apt-get install -y \ |
| 5 | nodejs \ |
| 6 | npm \ |
| 7 | yarnpkg \ |
| 8 | && apt-get clean autoclean |
| 9 | |
| 10 | # Ensure UTF-8 encoding |
| 11 | ENV LANG=C.UTF-8 |
| 12 | ENV LC_ALL=C.UTF-8 |
| 13 | |
| 14 | # Yarn |
| 15 | RUN ln -sf /usr/bin/yarnpkg /usr/bin/yarn |
| 16 | |
| 17 | WORKDIR /workspace |
| 18 | |
| 19 | COPY package.json yarn.lock /workspace/ |
| 20 | |
| 21 | RUN yarn install |
| 22 | |
| 23 | COPY . /workspace |
| 24 | |