Skip to content
Snippets Groups Projects
Commit 227e5b36 authored by Karsten Prehn's avatar Karsten Prehn
Browse files

Added Dockerfile

parent 50cabfe5
Branches master
No related tags found
1 merge request!1Added Dockerfile
# Copyright (C) 2021:
# Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
FROM node:latest
RUN git clone https://git.gfz-potsdam.de/dynamicexposure/completeness/clickpleteness.git /app
WORKDIR /app
RUN npm install -g npm@latest && npm install && npm run build
EXPOSE 8080
CMD ["node", "./srv/server.js"]
LICENSE 0 → 100644
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment