2023-08-11 09:31:47 +03:00

25 lines
627 B
Docker

#
# Copyright (C) 2017-2023 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0, unless
# Esper library is used, in which case it is subject to the terms of General Public License v2.0.
# If a copy of the MPL was not distributed with this file, you can obtain one at
# https://www.mozilla.org/en-US/MPL/2.0/
#
FROM node:14-alpine
ENV WEB_BASEDIR /opt/ems-web-admin
WORKDIR ${WEB_BASEDIR}
ADD public ./public
ADD src ./src
ADD .env .
ADD *.js .
ADD *.json .
ADD README.md .
RUN npm install
ENTRYPOINT ["npm", "run", "serve"]