mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-10 01:32:21 +00:00
Fix private requirements version control
private.txt was under version control.
This commit is contained in:
parent
2f9766a3a1
commit
1585a20558
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,5 +2,5 @@
|
||||||
config/
|
config/
|
||||||
data-*/
|
data-*/
|
||||||
TODO
|
TODO
|
||||||
openedx/requirements/private.*
|
openedx/requirements/private.txt
|
||||||
.env
|
.env
|
||||||
|
|
|
@ -54,8 +54,8 @@ RUN curl -L -o dockerize.tar.gz https://github.com/jwilder/dockerize/releases/do
|
||||||
&& rm dockerize.tar.gz
|
&& rm dockerize.tar.gz
|
||||||
|
|
||||||
# Install private requirements as late as possible, so they can be modified frequently
|
# Install private requirements as late as possible, so they can be modified frequently
|
||||||
COPY ./requirements/private.txt /tmp/
|
COPY ./requirements/ /tmp/requirements
|
||||||
RUN pip install --src ../venv/src -r /tmp/private.txt
|
RUN touch /tmp/requirements/private.txt && pip install --src ../venv/src -r /tmp/requirements/private.txt
|
||||||
|
|
||||||
# Copy convenient scripts
|
# Copy convenient scripts
|
||||||
COPY ./bin/docker-entrypoint.sh /usr/local/bin/
|
COPY ./bin/docker-entrypoint.sh /usr/local/bin/
|
||||||
|
|
1
openedx/requirements/.gitignore
vendored
Normal file
1
openedx/requirements/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
private.txt
|
3
openedx/requirements/README
Normal file
3
openedx/requirements/README
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Add your additional requirements, such as xblocks, to private.txt. This file
|
||||||
|
is not under version control, which means that your changes will not be
|
||||||
|
committed to the upstream repository.
|
|
@ -1,3 +0,0 @@
|
||||||
# Add your additional requirements here, such as xblocks. This file is not
|
|
||||||
# under version control, which means that your changes will not be committed to
|
|
||||||
# the upstream repository.
|
|
Loading…
Reference in New Issue
Block a user