10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM node:22-alpine
|
||||
WORKDIR /app
|
||||
RUN corepack enable
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn install
|
||||
COPY . .
|
||||
|
||||
ENV PORT=80
|
||||
EXPOSE 80
|
||||
CMD ["node", "index.mjs"]
|
||||
Reference in New Issue
Block a user