mirror of
https://github.com/simon987/simon987.net.git
synced 2025-12-18 01:09:03 +00:00
docker
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM node:14 as build
|
||||
|
||||
WORKDIR /app
|
||||
COPY simon987/ ./
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=build /app/dist/ /usr/share/nginx/html
|
||||
Reference in New Issue
Block a user