Add fullstack example
This commit is contained in:
10
examples/fullstack/backend/Dockerfile
Normal file
10
examples/fullstack/backend/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM node:22-alpine AS base
|
||||
WORKDIR /backend
|
||||
COPY package.json .
|
||||
RUN yarn install
|
||||
COPY index.js .
|
||||
|
||||
FROM base AS develop
|
||||
COPY --from=base /backend/ .
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT [ "node", "--watch", "index.js" ]
|
Reference in New Issue
Block a user