add basic dockerfile and woodpecker configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-03-07 17:04:04 -05:00
parent 354fd1b431
commit 6d6630b7c1
3 changed files with 29 additions and 1 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:18-slim AS builder
COPY . /src
WORKDIR /src
RUN npm install && node ./index.js
FROM caddy:2.6.4
COPY img /usr/share/caddy/img
COPY css /usr/share/caddy/css
COPY js /usr/share/caddy/js
COPY stores.json robots.txt /usr/share/caddy/
COPY --from=builder /src/index.html /usr/share/caddy/index.html