add dockerfile

This commit is contained in:
Chan
2025-01-10 15:17:36 +09:00
parent ab9e7bf220
commit 4e2ba1bf9e
4 changed files with 40 additions and 1 deletions

15
dockerfile Normal file
View 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" ]