fix: correct dockerfile env syntax
All checks were successful
Test / run-tests (pull_request) Successful in 3m25s
All checks were successful
Test / run-tests (pull_request) Successful in 3m25s
This commit is contained in:
parent
c83a9c41b5
commit
7d51cd186f
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ name: Docker
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- "remove-trailing-slash"
|
||||
- "main"
|
||||
|
||||
env:
|
||||
REGISTRY: code.troylusty.com
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue