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:
|
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