Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Vue 2.6 to Vue 2.7 #75

Merged
merged 3 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/publish-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
NGINX_RUNTIME_SRC=../../docker/nginx-runtime
VUE_ON_NGINX_SRC=../../docker/vue-on-nginx
WEB_SRC=../../web
NPM_INSTALL_ARGS=--unsafe-perm

deploy2dev:
name: Deploy to DEV
Expand Down
12 changes: 9 additions & 3 deletions docker/web/Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG NPM_INSTALL_ARGS=""
# 1. Build web-runtime
###################################################################################
# Use the offical nginx (based on debian)
FROM nginx:stable as runtime
FROM nginx:stable AS runtime
ARG NGINX_RUNTIME_SRC
ARG VUE_ON_NGINX_SRC

Expand Down Expand Up @@ -62,17 +62,23 @@ USER 104
###################################################################################
# 2. Build web-artifacts
###################################################################################
FROM quay.io/centos7/nodejs-${NODE_VERSION}-centos7:${NODE_VERSION} as artifacts
FROM quay.io/centos7/nodejs-${NODE_VERSION}-centos7:${NODE_VERSION} AS artifacts
ARG NODE_VERSION
ARG WEB_SRC
ARG NPM_INSTALL_ARGS

USER root
WORKDIR /opt/app-root/src

COPY ${WEB_SRC} .
# Copy package.json and package-lock.json
COPY ${WEB_SRC}/package*.json .

# Install packages
RUN npm install ${NPM_INSTALL_ARGS}

# Copy the rest of the code
COPY ${WEB_SRC} .

RUN npm run build

###################################################################################
Expand Down
Loading
Loading