Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
5721c384
Commit
5721c384
authored
4 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
TMSS-183
: minor fixes
parent
8b93c42e
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
SAS/TMSS/src/Dockerfile-tmss
+4
-8
4 additions, 8 deletions
SAS/TMSS/src/Dockerfile-tmss
with
4 additions
and
8 deletions
SAS/TMSS/src/Dockerfile-tmss
+
4
−
8
View file @
5721c384
...
...
@@ -9,7 +9,7 @@
#
FROM ci_sas:latest
RUN mkdir /opt/lofar
RUN mkdir
-p
/opt/lofar
# Adding backend directory to make absolute filepaths consistent across services
WORKDIR /opt/lofar
...
...
@@ -18,14 +18,10 @@ ENV LOFARROOT=/opt/lofar
# Add the rest of the code
COPY --chown=lofarsys:lofarsys ./installed /opt/lofar
RUN sed -i "s/lfr_root=.*/lfr_root=\/opt\/lofar/g" /opt/lofar/lofarinit.sh
# Make port 8000 available for the app
# Make port 8000
,8008
available for the app
EXPOSE 8000
EXPOSE 8008
RUN sed -i "s/lfr_root=.*/lfr_root=\/opt\/lofar/g" /opt/lofar/lofarinit.sh
# Be sure to use 0.0.0.0 for the host within the Docker container,
# otherwise the browser won't be able to find it
# CMD python3 manage.py runserver 0.0.0.0:8000
# CMD bash -c 'source /opt/lofar/lofarinit.sh && tmss'
CMD bash -c 'source /opt/lofar/lofarinit.sh && python3 lib/python3.6/site-packages/lofar/sas/tmss/manage.py runserver 0.0.0.0:8000'
\ 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