Skip to content

Commit d15524c

Browse files
committed
workdir for nginx
1 parent 3cb4e53 commit d15524c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ FROM container-registry.platta-net.hel.fi/devops-toolchain/nginx-spa-standard:1.
3838
COPY --from=staticbuilder /app/build /usr/share/nginx/html
3939

4040
# 2. Inject App-Specific Nginx Config
41-
COPY --from=staticbuilder /app/readiness.conf* /etc/nginx/includes/
41+
COPY --from=staticbuilder /app/readiness.conf /etc/nginx/includes/placeholder.conf
4242
COPY .prod/nginx_env.conf /etc/nginx/env/
4343

4444
# 3. Setup Runtime Env Injection
45-
# The Managed Entrypoint in the base image will automatically execute env.sh
45+
WORKDIR /usr/share/nginx/html
4646
COPY ./scripts/env.sh .
4747
COPY .env .
4848
COPY package.json .

0 commit comments

Comments
 (0)