Skip to content
Snippets Groups Projects
Commit 0805e681 authored by Andrew Kapuscinski's avatar Andrew Kapuscinski
Browse files

created requirements.txt and moved pip install and migration command to bin/run-migration.sh

parent a5205464
No related branches found
No related tags found
No related merge requests found
# This is nrao:schema
# The purpose of this is just to run the alembic migrations against the database in a docker-compose environment
FROM nrao:workspaces-base
WORKDIR /code/schema
ENV CAPO_PROFILE docker
ENTRYPOINT ["./bin/run-migrations.sh"]
#! /bin/bash
# FOR USE WITH DOCKER DEVELOPMENT ENVIRONMENT ONLY.
# Python library installation
pip install -r requirements.txt
env CAPO_PROFILE=docker alembic upgrade head
# This file is intended to support the Condaless.dockerfile, not for actual development
# DO NOT MODIFY THIS FILE, THIS IS FOR DOCKER ONLY!
alembic == 1.4
pycapo == 0.3.0
psycopg2 == 2.8
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment