fix: remove trailing slash #1
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ name: Docker
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "remove-trailing-slash"
|
- "main"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: code.troylusty.com
|
REGISTRY: code.troylusty.com
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:latest as node
|
FROM node:latest AS node
|
||||||
USER node
|
USER node
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
@ -10,4 +10,4 @@ RUN ["npx", "astro", "build"]
|
||||||
FROM ghcr.io/static-web-server/static-web-server:latest
|
FROM ghcr.io/static-web-server/static-web-server:latest
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=node /usr/src/app/dist /public
|
COPY --from=node /usr/src/app/dist /public
|
||||||
ENV SERVER_REDIRECT_TRAILING_SLASH false
|
ENV SERVER_REDIRECT_TRAILING_SLASH=false
|
||||||
|
|
Loading…
Add table
Reference in a new issue