Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
engine-core
Commits
96b8ff06
Commit
96b8ff06
authored
4 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Expose API Port.
parent
26750b13
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+13
-4
13 additions, 4 deletions
Dockerfile
with
13 additions
and
4 deletions
Dockerfile
+
13
−
4
View file @
96b8ff06
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment