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:
@@ -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
|
||||
|
Reference in New Issue
Block a user