my react application coudnt deploy

ruturajwork
TRIAL

a year ago

please help me for the error below docker command i use to cretate a docker image

node block

FROM node:alpine3.16 as nodework

WORKDIR /myapp
COPY package.json .
RUN npm install
COPY . .
RUN npm run build

nginx block

FROM nginx:1.25.3-alpine-slim
WORKDIR /usr/share/nginx/html
RUN rm -rf ./*
COPY --from=nodework /myapp/build .
ENTRYPOINT [ "nginx","-g","daemon off;" ]

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

1 Replies


my react application coudnt deploy - Railway Help Station