add dockerfile
This commit is contained in:
15
dockerfile
Normal file
15
dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:22.13.0-slim
|
||||
|
||||
ADD . /opt/workspace
|
||||
WORKDIR /opt/workspace
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
|
||||
RUN npx yarn install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
EXPOSE 8899
|
||||
|
||||
|
||||
CMD [ "yarn", "start" ]
|
||||
Reference in New Issue
Block a user