mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-12 11:11:47 +00:00
Update Dockerfile
This commit is contained in:
@ -1,10 +1,14 @@
|
||||
FROM node:20 AS build
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
RUN yarn install --development
|
||||
COPY dashboard dashboard
|
||||
COPY src src
|
||||
COPY tsconfig.json .
|
||||
|
||||
COPY . .
|
||||
RUN yarn install --development
|
||||
RUN cd dashboard && yarn install --development
|
||||
RUN yarn run build
|
||||
|
||||
FROM node:20-alpine
|
||||
|
||||
Reference in New Issue
Block a user