mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-06-05 15:50:15 +08:00
first commit
This commit is contained in:
13
BillNote_frontend/Dockerfile
Normal file
13
BillNote_frontend/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM node:18-alpine AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./BillNote_frontend /app
|
||||
|
||||
RUN npm install && npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user