fix: correct dockerfile env syntax
All checks were successful
Test / run-tests (pull_request) Successful in 3m25s

This commit is contained in:
Troy 2025-04-14 02:10:16 +01:00
parent c83a9c41b5
commit 7d51cd186f
Signed by: troy
GPG key ID: DFC06C02ED3B4711
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ name: Docker
on:
push:
branches:
- "remove-trailing-slash"
- "main"
env:
REGISTRY: code.troylusty.com

View file

@ -1,4 +1,4 @@
FROM node:latest as node
FROM node:latest AS node
USER node
WORKDIR /usr/src/app
@ -10,4 +10,4 @@ RUN ["npx", "astro", "build"]
FROM ghcr.io/static-web-server/static-web-server:latest
WORKDIR /
COPY --from=node /usr/src/app/dist /public
ENV SERVER_REDIRECT_TRAILING_SLASH false
ENV SERVER_REDIRECT_TRAILING_SLASH=false