restructuring
This commit is contained in:
@@ -12,7 +12,7 @@ ENV DEBUG=$DEBUG
|
|||||||
WORKDIR /code/
|
WORKDIR /code/
|
||||||
|
|
||||||
# Copy only the requirements file first (Changes infrequently)
|
# Copy only the requirements file first (Changes infrequently)
|
||||||
COPY requirements.txt ./
|
COPY ../../requirements.txt ./
|
||||||
|
|
||||||
|
|
||||||
RUN pip install --cache-dir=/opt/hostedtoolcache/pip --upgrade pip
|
RUN pip install --cache-dir=/opt/hostedtoolcache/pip --upgrade pip
|
||||||
@@ -22,7 +22,7 @@ RUN pip install --cache-dir=/opt/hostedtoolcache/pip --upgrade setuptools
|
|||||||
RUN pip install --cache-dir=/opt/hostedtoolcache/pip -r requirements.txt
|
RUN pip install --cache-dir=/opt/hostedtoolcache/pip -r requirements.txt
|
||||||
|
|
||||||
# Copy the rest of your application code (Changes frequently, invalidates subsequent cache)
|
# Copy the rest of your application code (Changes frequently, invalidates subsequent cache)
|
||||||
COPY . ./
|
COPY ../../. ./
|
||||||
|
|
||||||
COPY entrypoint.sh /code/entrypoint.sh
|
COPY entrypoint.sh /code/entrypoint.sh
|
||||||
RUN chmod +x /code/entrypoint.sh
|
RUN chmod +x /code/entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user