mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat: 🧑💻 Add Devcontainers support
This commit is contained in:
parent
6a0188c93e
commit
d73ff674a1
2 changed files with 44 additions and 0 deletions
10
.devcontainer/Dockerfile
Normal file
10
.devcontainer/Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Bun doesn't run well on Musl but this seems to work
|
||||
FROM oven/bun:1.1.7-alpine as base
|
||||
|
||||
RUN apk add --no-cache libstdc++ git bash curl openssh
|
||||
|
||||
# Switch to Bash by editing /etc/passwd
|
||||
RUN sed -i -e 's|/bin/ash|/bin/bash|g' /etc/passwd
|
||||
|
||||
# Extract Node from its docker image (node:22-alpine)
|
||||
COPY --from=node:22-alpine /usr/local/bin/node /usr/local/bin/node
|
||||
Loading…
Add table
Add a link
Reference in a new issue