Skip to content

Commit

Permalink
add post-create-command.sh back
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenglimEar committed Jul 3, 2024
1 parent e110b7e commit 0e6cca5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@ services:
network_mode: service:db

db:
#image: postgres:16.0-bullseye
#image: postgres:latest
#image: postgres:15.4
image: postgres:15.6-bullseye
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
#- ../pgdata:/var/lib/postgresql/data
environment:
POSTGRES_USER: app_user
POSTGRES_DB: "disclosure-backend"
Expand Down
10 changes: 10 additions & 0 deletions .devcontainer/post-create-command.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -e

pip install --upgrade pip
#pip install 'urllib3[secure]'
pip install -r requirements.txt
pip install -r download/requirements.txt
sudo gem install pg bundler
sudo bundle install

0 comments on commit 0e6cca5

Please sign in to comment.