Skip to content

Commit

Permalink
Extend docker run instructions in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
EHJ-52n authored Jul 27, 2022
1 parent 223763a commit d3048fa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,12 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY ./52-*.sh /docker-entrypoint.d/
RUN chmod 0775 /docker-entrypoint.d/52-*.sh
COPY --from=BUILD /usr/src/app/dist/timeseries /usr/share/nginx/html
# the container can be started like this: docker run -p 80:80 -e PORT=80 helgoland
#
# the container can be started like this:
#
# docker run --publish 80:80 --env PORT=80 --rm 52north/helgoland
#
# this make helgoland available via http://localhost:80/ and
# removes the container after stopping it
#
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit d3048fa

Please sign in to comment.