Initial Entry

This commit is contained in:
Gert-Jan Aalderink 2025-07-09 22:11:21 +02:00
parent a40dc7dfff
commit 9b67604ce4
2 changed files with 35 additions and 0 deletions

20
dev-env/Dockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM node:20
# Basic tools
RUN apt-get update && apt-get install -y \
git \
curl \
vim \
htop \
openssh-server \
&& rm -rf /var/lib/apt/lists/*
# Set up workspace
WORKDIR /workspace
# Optional: Install VS Code Server (commented by default)
# RUN curl -fsSL https://code-server.dev/install.sh | sh
# Default shell
CMD ["/bin/bash"]

View File

@ -0,0 +1,15 @@
nextjs-dev:
build: ./dev-env
container_name: nextjs-dev
networks:
LocalNet:
ipv4_address: '172.17.17.73'
ports:
- "2222:22" # SSH access for VS Code Server or remote shell
- "3001:3000" # Next.js dev preview
volumes:
- /storage/ospfcost:/workspace
environment:
- NODE_ENV=development
restart: unless-stopped