Skip to content

Commit d7537dd

Browse files
authored
fix pip install step
1 parent 1fd5c73 commit d7537dd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM mcr.microsoft.com/devcontainers/python:3.7-bullseye
33

44
RUN \
55
apt update && \
6-
apt-get install bash-completion graphviz default-mysql-client -y
6+
apt-get install bash-completion graphviz default-mysql-client -y && \
7+
pip install flake8 black faker ipykernel
78

89
ENV DJ_HOST localhost
910
ENV DJ_USER root

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"ghcr.io/eitsupi/devcontainer-features/jq-likes:1": {},
1616
"ghcr.io/guiyomh/features/vim:0": {}
1717
},
18-
"onCreateCommand": "pip install flake8 black faker ipykernel datajoint",
18+
"onCreateCommand": "pip install -r requirements.txt",
1919
"postStartCommand": "MYSQL_VER=8.0 MINIO_VER=RELEASE.2022-08-11T04-37-28Z docker compose -f ./.devcontainer/local-docker-compose.yml down && MYSQL_VER=8.0 MINIO_VER=RELEASE.2022-08-11T04-37-28Z docker compose -f ./.devcontainer/local-docker-compose.yml up --build --wait",
2020
"forwardPorts": [
2121
80,

0 commit comments

Comments
 (0)