Skip to content

Commit 778dcb8

Browse files
leorollandryshu
authored andcommitted
feat(#10): add 'gitflow' alias to run flow everywhere
Gitlab overrides default entrypoint to run runner with a shell inside repository cloned folder, an alias may help to run flow commands from anywhere inside container.
1 parent 75666bb commit 778dcb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ RUN poetry config virtualenvs.create false && \
1313

1414
COPY . /app/
1515

16+
RUN echo 'alias gitflow="python /app/main.py"' >> ~/.bashrc
17+
1618
ENTRYPOINT ["python", "main.py"]

0 commit comments

Comments
 (0)