mirror of
https://github.com/Screenly/Anthias.git
synced 2026-01-02 11:18:20 -05:00
18 lines
409 B
Docker
18 lines
409 B
Docker
FROM screenly/srly-ose-base:latest-x86
|
|
|
|
ADD requirements/requirements-websocket.txt /tmp/requirements.txt
|
|
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
COPY . /usr/src/app/
|
|
|
|
ARG GIT_HASH
|
|
ENV GIT_HASH=$GIT_HASH
|
|
ARG GIT_SHORT_HASH
|
|
ENV GIT_SHORT_HASH=$GIT_SHORT_HASH
|
|
ARG GIT_BRANCH
|
|
ENV GIT_BRANCH=$GIT_BRANCH
|
|
|
|
CMD ["python", "websocket_server_layer.py"]
|