代码拉取完成,页面将自动刷新
FROM quickcorp/qcobjects:latest
###
# QCObjects 1.0
# ________________
#
# Author: Jean Machuca <correojean@gmail.com>
#
# Cross Browser Javascript Framework for MVC Patterns
# QuickCorp/QCObjects is licensed under the
# GNU Lesser General Public License v3.0
# [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
#
# Permissions of this copyleft license are conditioned on making available
# complete source code of licensed works and modifications under the same
# license or the GNU GPLv3. Copyright and license notices must be preserved.
# Contributors provide an express grant of patent rights. However, a larger
# work using the licensed work through interfaces provided by the licensed
# work may be distributed under different terms and without source code for
# the larger work.
#
# Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
#
# Everyone is permitted to copy and distribute verbatim copies of this
# license document, but changing it is not allowed.
###
USER root
#Configure the internal user permissions
RUN mkdir -p /home/qcobjects/app && chown -R qcobjects:qcobjects /home/qcobjects
#Setting the work directory
WORKDIR /home/qcobjects/app
USER qcobjects
COPY package*.json ./
#Run the initial install init scripts for jasmine and cache verify
RUN jasmine init
RUN npm cache verify
RUN npm ci --save --only=production
# Bundle app source
COPY --chown=qcobjects:qcobjects . .
# Default port is 10300
ENV COLLAB_PORT 10300
EXPOSE $COLLAB_PORT
CMD [ "npm", "run", "start" ]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。