Deployment stuck

I can't see the error message on deploy
No description
9 Replies
Percy
Percy4mo ago
Project ID: b19b2751-44b4-49a2-b64d-0be0ed08b0b8
sostenesapollo
sostenesapollo4mo ago
b19b2751-44b4-49a2-b64d-0be0ed08b0b8
root
root4mo ago
My build just went through - can you try again?
Duchess
Duchess4mo ago
New reply sent from Help Station thread:
hey, mine is not working
You're seeing this because this thread has been automatically linked to the Help Station thread.
Duchess
Duchess4mo ago
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
sostenesapollo
sostenesapollo4mo ago
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
sostenesapollo
sostenesapollo4mo ago
It's still stuck, any help ? I don't know what to do, I can't see the error message
sostenesapollo
sostenesapollo4mo ago
No description
sostenesapollo
sostenesapollo4mo ago
Any idea of what is happening ?
# base node image
FROM node:18-bullseye-slim as base

# set for base and all layers that inherit from it
ENV NODE_ENV production

# Install openssl for Prisma
RUN apt-get update && apt-get install -y openssl

FROM base as deps

WORKDIR /myapp

# Add package.json and yarn.lock
ADD package.json ./
ADD yarn.lock ./
# Install dependencies including dev dependencies
RUN yarn install --frozen-lockfile --dev

# Setup production node_modules
FROM base as production-deps

WORKDIR /myapp

# Copy dependencies from deps stage
COPY --from=deps /myapp/node_modules /myapp/node_modules
ADD package.json ./
ADD yarn.lock ./
# Install production dependencies
RUN yarn install --frozen-lockfile --production

# Build the app
FROM base as build

WORKDIR /myapp

# Copy dependencies and source code from deps stage
COPY --from=deps /myapp/node_modules /myapp/node_modules

ADD prisma .
# Generate Prisma client
RUN npx prisma generate

ADD . .
# Build the app and capture detailed logs
RUN yarn build


# Finally, build the production image with minimal footprint
FROM base

WORKDIR /myapp

# Copy production dependencies and built assets from previous stages
COPY --from=production-deps /myapp/node_modules /myapp/node_modules
COPY --from=build /myapp/node_modules/.prisma /myapp/node_modules/.prisma

COPY --from=build /myapp/build /myapp/build
COPY --from=build /myapp/public /myapp/public
ADD . .

CMD ["yarn", "start"]
# base node image
FROM node:18-bullseye-slim as base

# set for base and all layers that inherit from it
ENV NODE_ENV production

# Install openssl for Prisma
RUN apt-get update && apt-get install -y openssl

FROM base as deps

WORKDIR /myapp

# Add package.json and yarn.lock
ADD package.json ./
ADD yarn.lock ./
# Install dependencies including dev dependencies
RUN yarn install --frozen-lockfile --dev

# Setup production node_modules
FROM base as production-deps

WORKDIR /myapp

# Copy dependencies from deps stage
COPY --from=deps /myapp/node_modules /myapp/node_modules
ADD package.json ./
ADD yarn.lock ./
# Install production dependencies
RUN yarn install --frozen-lockfile --production

# Build the app
FROM base as build

WORKDIR /myapp

# Copy dependencies and source code from deps stage
COPY --from=deps /myapp/node_modules /myapp/node_modules

ADD prisma .
# Generate Prisma client
RUN npx prisma generate

ADD . .
# Build the app and capture detailed logs
RUN yarn build


# Finally, build the production image with minimal footprint
FROM base

WORKDIR /myapp

# Copy production dependencies and built assets from previous stages
COPY --from=production-deps /myapp/node_modules /myapp/node_modules
COPY --from=build /myapp/node_modules/.prisma /myapp/node_modules/.prisma

COPY --from=build /myapp/build /myapp/build
COPY --from=build /myapp/public /myapp/public
ADD . .

CMD ["yarn", "start"]
I'm using this dockerFile
Want results from more Discord servers?
Add your server