Skip to content
Snippets Groups Projects
Commit 96b8ff06 authored by David Trattnig's avatar David Trattnig
Browse files

Expose API Port.

parent 26750b13
No related branches found
No related tags found
No related merge requests found
......@@ -50,34 +50,43 @@ RUN mkdir -p /srv
RUN mkdir -p /var/log/aura
COPY . /srv
# Own'd
# 0wn'd
RUN chown -R engineuser:engineuser /srv
RUN chown -R engineuser:engineuser /var/log/aura
RUN chown -R engineuser:engineuser /home/opam
#
# ENGINE INSTALLATION
#
USER engineuser
WORKDIR /srv
ENV PATH="/home/opam/.local/bin:${PATH}"
# Python Package Installation
COPY requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
# Default configuration
COPY configuration/sample-docker.engine.ini /srv/configuration/engine.ini
COPY configuration/sample-docker.gunicorn.conf.py /srv/configuration/gunicorn.conf.py
# Update OPAM
RUN opam init --disable-sandboxing -y
RUN opam switch create 4.08.0
RUN opam update -y
RUN opam install depext -y
# Liquidsoap Dependencies
RUN opam depext taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa ssl liquidsoap -y
RUN opam install taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa ssl liquidsoap -y
RUN eval $(opam env)
\ No newline at end of file
RUN eval $(opam env)
# Expose the API
EXPOSE 3333
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment