Files
Anthias/docker/Dockerfile.server.tmpl
nicomiguelino 21b29e08bc fix: update header notification not disappearing after update
* modified the check if Anthias is updated or not
* added manual upgrade instructions in the Upgrade Anthias section
2024-05-22 14:31:05 -07:00

17 lines
385 B
Docker

# vim: ft=dockerfile
COPY requirements/requirements.txt /tmp/requirements.txt
RUN --mount=type=cache,target=/root/.cache/pip \
pip3 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
ENV DEVICE_TYPE=$BOARD
CMD ["bash", "bin/start_server.sh"]