Add the build step to the Dockerfile
All checks were successful
Publish image / deploy (push) Successful in 3m47s
All checks were successful
Publish image / deploy (push) Successful in 3m47s
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
FROM node:22-alpine
|
FROM node:22-alpine
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN npm run build
|
||||||
EXPOSE 4000
|
EXPOSE 4000
|
||||||
|
|
||||||
|
CMD ["npm", "run", "start"]
|
||||||
|
|||||||
Reference in New Issue
Block a user