Add caddyfile and emergency docker-compose
Some checks failed
Portfolio/pipeline/head There was a failure building this commit
Some checks failed
Portfolio/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -10,11 +10,13 @@ WORKDIR /app
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
# Copy all
|
||||
# Copy all and build
|
||||
COPY . .
|
||||
RUN pnpm build
|
||||
|
||||
# --- DEPLOY ---
|
||||
FROM caddy:alpine
|
||||
COPY --from=build /app/dist /usr/share/caddy
|
||||
COPY Caddyfile /etc/caddy/Caddyfile
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user