working build

This commit is contained in:
root 2025-02-27 23:30:12 -06:00
parent b24d7ce2f3
commit b21a77ddc8
4 changed files with 21 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM debian:bullseye-slim
#
COPY init.sh /
RUN chmod +x /init.sh
RUN mkdir /app
RUN apt update && apt-get install -y curl && curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh && /bin/bash nodesource_setup.sh && apt update && apt-get install -y nodejs
RUN apt clean
CMD ["/init.sh"]

9
docker-compose.yml Normal file
View File

@ -0,0 +1,9 @@
services:
starlight:
image: starlight
container_name: starlight
restart: always
ports:
- "4355:4321"
volumes:
- "./files:/app"

1
files Submodule

@ -0,0 +1 @@
Subproject commit cd74dc60267f27ddac1ce502ce0ab6cac78c87a8

3
init.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cd /app
npm run dev -- --host