mirror of
https://github.com/Screenly/Anthias.git
synced 2026-01-16 10:08:13 -05:00
14 lines
339 B
Cheetah
14 lines
339 B
Cheetah
COPY requirements/requirements.txt /tmp/requirements.txt
|
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
|
pip install -r /tmp/requirements.txt
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
COPY . /usr/src/app/
|
|
WORKDIR /usr/src/app
|
|
|
|
ENV GIT_HASH=$GIT_HASH
|
|
ENV GIT_SHORT_HASH=$GIT_SHORT_HASH
|
|
ENV GIT_BRANCH=$GIT_BRANCH
|
|
|
|
CMD ["bash", "bin/start_server.sh"]
|