1
0
mirror of https://github.com/XFox111/easylogon-web.git synced 2026-07-02 19:52:45 +03:00

build(deps): migration from yarn to npm

This commit is contained in:
2026-05-16 10:03:59 +00:00
parent a0859576ae
commit 6a8fd0e3e5
7 changed files with 6461 additions and 3671 deletions
+4 -5
View File
@@ -10,22 +10,21 @@ WORKDIR /app
# Copy the package.json and yarn.lock files to the working directory
COPY package.json ./
COPY yarn.lock ./
COPY package-lock.json ./
# Install the app dependencies
RUN yarn install
RUN yarn audit
RUN npm install
# Copy the app source code to the working directory
COPY . .
RUN yarn lint
RUN npm run lint
RUN echo "VITE_SIGNALR_URL=${SIGNALR_URL}" >> .env
RUN echo "VITE_ENDPOINT_URL=${ENDPOINT_URL}" >> .env
RUN echo "VITE_COMMIT=${COMMIT}" >> .env
# Build the app
RUN yarn build
RUN npm run build
FROM steebchen/nginx-spa:stable AS runner
WORKDIR /app