generated from Phil/vue3template
This commit is contained in:
parent
ecea9bd13b
commit
459a45243a
3 changed files with 30 additions and 0 deletions
19
.woodpecker.yml
Normal file
19
.woodpecker.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
steps:
|
||||||
|
- name: Publish
|
||||||
|
image: woodpeckerci/plugin-docker-buildx:3
|
||||||
|
settings:
|
||||||
|
platforms: linux/amd64
|
||||||
|
repo: git.hackmi.ch/hackmi.ch/start
|
||||||
|
registry: git.hackmi.ch
|
||||||
|
tags: latest
|
||||||
|
username:
|
||||||
|
from_secret: reg-user
|
||||||
|
password:
|
||||||
|
from_secret: reg-pass
|
||||||
|
|
||||||
|
services:
|
||||||
|
docker:
|
||||||
|
image: docker:24-dind
|
||||||
|
commands:
|
||||||
|
- dockerd --tls=false --host=tcp://0.0.0.0:2376
|
||||||
|
privileged: true
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM node:alpine as builder
|
||||||
|
WORKDIR /src
|
||||||
|
|
||||||
|
RUN npm i .
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
FROM nginx:stable-alpine-slim
|
||||||
|
RUN rm -rf /usr/share/nginx/html
|
||||||
|
RUN mkdir -p /usr/share/nginx/html
|
||||||
|
|
||||||
|
COPY --from=builder /src/dist/* /usr/share/nginx/html/
|
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 15 KiB |
Loading…
Reference in a new issue