added devcontainer

This commit is contained in:
hugo LAMY
2025-03-06 00:30:38 +00:00
parent 98e40d5bb8
commit 8a28799aac
3 changed files with 52 additions and 0 deletions

22
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
# Use Ubuntu as the base image
FROM ubuntu:latest
# Update and install necessary dependencies
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
vim \
&& rm -rf /var/lib/apt/lists/*
# Set the working directory to /workspace (VSCode will mount your local folder here)
WORKDIR /workspace
# Set the default user as root for installing packages
USER root
# Expose any necessary ports (if needed)
# EXPOSE 3000
# Run bash as the default command when the container starts
CMD ["/bin/bash"]