Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Commit

Permalink
listen on 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Lavigne committed Oct 3, 2018
1 parent 55ebb35 commit 1d62371
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions onestep.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# build
# similar to Dockerfile, but uses Apache HTTPd and does not use multi-stage build
FROM httpd:2.4

ARG CONTROLLER_SERVICE=http://lw-controller:8080
Expand All @@ -16,6 +16,9 @@ RUN apt-get update \
&& npm install \
&& npm run deploy:prod \
&& rm -rf node_modules \
&& mv -f /app/dist/* /usr/local/apache2/htdocs/ \
&& apt-get remove -y python build-essential nodejs curl

RUN mv /app/dist/ /usr/local/apache2/htdocs/
# Listen on 8080
RUN sed -i "s/Listen 80/Listen 8080/g" /usr/local/apache2/conf/httpd.conf
EXPOSE 8080

0 comments on commit 1d62371

Please sign in to comment.