You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought I'd share this here since I got stuck on it for quite a bit, but don't know what is wrong.
I basically turned it off but wanted to share it in case you already know something or in case someone else runs into this issue.
The setup
I run the boilerplate demo inside a docker container.
The build works every time locally even inside a docker container setup exactly the same way.
When running it in the Linode Ubuntu 20.4, it just crashes.
# Stage 1 - Building image
FROM node:19-alpine3.16 as node
# set working direction (just a name for the project)
WORKDIR /app/
#package and package-lock.json both go in
COPY package.json ./
RUN npm install
COPY . .
RUN npm run build --verbose# Stage 1 - Building image
FROM node:19-alpine3.16 as node
# set working direction (just a name for the project)
WORKDIR /app/
#package and package-lock.json both go in
COPY package.json ./
RUN npm install
COPY . .
RUN npm run build --verbose
# Stage 2 - Running image
FROM 'nginx:latest'
COPY --from=node /app/dist /usr/share/nginx/html
EXPOSE 80 443
CMD [ "nginx", "-g", "daemon off;" ]
Intro
I thought I'd share this here since I got stuck on it for quite a bit, but don't know what is wrong.
I basically turned it off but wanted to share it in case you already know something or in case someone else runs into this issue.
The setup
I run the boilerplate demo inside a docker container.
The build works every time locally even inside a docker container setup exactly the same way.
When running it in the Linode Ubuntu 20.4, it just crashes.
in astro.config.mjs
commenting this line makes the whole thing work:
astroImageTools
Here is the error
The text was updated successfully, but these errors were encountered: