mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-04 19:03:39 +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/
|
||||
data-*/
|
||||
TODO
|
||||
openedx/requirements/private.*
|
||||
openedx/requirements/private.txt
|
||||
.env
|
||||
|
@ -54,8 +54,8 @@ RUN curl -L -o dockerize.tar.gz https://github.com/jwilder/dockerize/releases/do
|
||||
&& rm dockerize.tar.gz
|
||||
|
||||
# Install private requirements as late as possible, so they can be modified frequently
|
||||
COPY ./requirements/private.txt /tmp/
|
||||
RUN pip install --src ../venv/src -r /tmp/private.txt
|
||||
COPY ./requirements/ /tmp/requirements
|
||||
RUN touch /tmp/requirements/private.txt && pip install --src ../venv/src -r /tmp/requirements/private.txt
|
||||
|
||||
# Copy convenient scripts
|
||||
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