mirror of
https://github.com/simon987/simon987.net.git
synced 2025-04-04 07:42:59 +00:00
14 lines
231 B
Docker
14 lines
231 B
Docker
FROM node:14 as build
|
|
|
|
WORKDIR /app
|
|
COPY simon987/ ./
|
|
|
|
RUN npm install
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY ./gpg /www/gpg/
|
|
COPY ./keybase /www/keybase/
|
|
COPY --from=build /app/dist/ /www/ |