image_ai / Dockerfile
shashwatIDR's picture
Update Dockerfile
cb65b84 verified
raw
history blame
513 Bytes
FROM codercom/code-server:latest
# Install Python and Node.js
RUN sudo apt-get update && \
sudo apt-get install -y python3 python3-pip curl && \
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - && \
sudo apt-get install -y nodejs
# Create working folder
WORKDIR /home/coder/animesh
# Set default password for VS Code in browser
ENV PASSWORD=hfspace
# Expose port for Hugging Face Spaces
EXPOSE 7860
# Launch VS Code server
CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "."]