diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e5ae848 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,12 @@ +node_modules +dist +.git +.gitignore +.env +.env.local +*.log +.DS_Store +README.md +LICENSE +sandbox.config.json + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e4e31a5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +FROM node:20-bullseye + +WORKDIR /app + +# Copy package files +COPY package.json yarn.lock ./ + +ENV CI=true + +# Install dependencies +RUN yarn install --frozen-lockfile + +# Copy source files +COPY . . + + +# Expose port +EXPOSE 3020 + +# Start the server +CMD ["yarn", "start"] +