fix: docker build
This commit is contained in:
@@ -32,6 +32,9 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|||||||
# Copy application code
|
# Copy application code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
# Copy web starter file to root directory
|
||||||
|
COPY start_web.py .
|
||||||
|
|
||||||
# Create git metadata for version detection based on build arg
|
# Create git metadata for version detection based on build arg
|
||||||
RUN mkdir -p .git && \
|
RUN mkdir -p .git && \
|
||||||
echo "ref: refs/heads/${GIT_BRANCH}" > .git/HEAD
|
echo "ref: refs/heads/${GIT_BRANCH}" > .git/HEAD
|
||||||
|
|||||||
Reference in New Issue
Block a user