-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
31 lines (24 loc) · 769 Bytes
/
Containerfile
File metadata and controls
31 lines (24 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# file: Containerfile
# author: simshadows <contact@simshadows.com>
#
# The image is for updating dependencies and running the dev server,
# which is why we mount the directory instead of copy it.
FROM node:25-bookworm
RUN apt update
RUN apt install -y vim python3
# repo folder to be a mount point
RUN mkdir -p /repo
RUN chown node /repo
WORKDIR /repo
USER node
# Install my dotfiles
RUN git clone https://github.com/simshadows/sims-dotfiles.git ~/dotfiles
RUN ~/dotfiles/setup.sh minimal
# Install Claude Code
RUN curl -fsSL https://claude.ai/install.sh | bash
RUN echo '' >> ~/.bashrc
RUN echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
# .claude folder to be a mount point
RUN mkdir -p /home/node/.claude
EXPOSE 8000/tcp
ENTRYPOINT sleep infinity