mirror of
https://github.com/lemeow125/Notes.git
synced 2024-11-16 19:59:25 +08:00
Update build step
This commit is contained in:
parent
e9b17e066e
commit
af5247571f
1 changed files with 1 additions and 2 deletions
|
@ -3,8 +3,7 @@ FROM node:18-alpine as build
|
|||
WORKDIR /usr/local/app
|
||||
COPY ./ /usr/local/app/
|
||||
RUN npm install
|
||||
RUN chmod +x /usr/local/app/build.sh
|
||||
RUN /usr/local/app/build.sh
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:latest
|
||||
RUN rm -rf /usr/share/nginx/html/*
|
||||
|
|
Loading…
Reference in a new issue