Skip to content

Commit 4dd7383

Browse files
committed
update docker and docker-compose
1 parent b4e1f1e commit 4dd7383

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-slim
1+
FROM python:3.12
22

33
RUN apt update \
44
&& apt install -y \
@@ -39,3 +39,5 @@ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/
3939
-p https://github.com/zsh-users/zsh-completions
4040

4141
USER user
42+
ENV PATH="${HOME}/.local/bin:$PATH"
43+
CMD ["/bin/bash"]

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ services:
2020
privileged: true # Grant full privileges to the container
2121
ports:
2222
- 8888:8888
23-
command: [ "sh", "-c", "sudo chown user --recursive /home/user; zsh && tail -f /dev/null" ]
23+
command:
24+
["sh", "-c", "sudo chown user --recursive /home/user; tail -f /dev/null"]
2425

2526
networks:
2627
default:

0 commit comments

Comments
 (0)