Compare commits

...

2 Commits

3 changed files with 48 additions and 3 deletions

41
.dockerignore Normal file
View File

@@ -0,0 +1,41 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# env files (can opt-in for committing if needed)
.env*
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts

View File

@@ -0,0 +1,4 @@
mc.neody.ad.jp {
root /srv
file_server
}

View File

@@ -10,7 +10,7 @@ RUN bun run build
FROM caddy:latest
WORKDIR /app
WORKDIR /srv
COPY --from=builder /app/out ./
COPY caddy/Caddyfile /etc/caddy/Caddyfile
COPY caddy/Caddyfile /etc/caddy/Caddyfile
COPY --from=builder /app/out ./