Revert "switch from nginx to SWS for serving the app (docker image)", as it causes issues with CDN deploy - workflow

should be adjusted first

This reverts commit 317df5af0f.
This commit is contained in:
Aine
2024-09-03 14:04:32 +03:00
parent 317df5af0f
commit 3c6259cc88
3 changed files with 5 additions and 5 deletions

View File

@@ -18,8 +18,9 @@ COPY . /src
RUN yarn build --base=$BASE_PATH
# App
FROM ghcr.io/static-web-server/static-web-server:2
ENV SERVER_ROOT /app
FROM nginx:stable-alpine
COPY --from=builder /src/dist /app
RUN rm -rf /usr/share/nginx/html \
&& ln -s /app /usr/share/nginx/html