diff --git a/Dockerfile b/Dockerfile index ae02d7e..f0972e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,23 +8,18 @@ WORKDIR /app RUN npm install -g pm2 -# Copy package.json and your lockfile, here we add pnpm-lock.yaml for illustration COPY package*.json ./ -# Install dependencies RUN npm i -# Copy the entire project COPY --link . . -# Build the project RUN npm run build FROM base COPY --from=build /src/.output /src/.output -# Change the port and host ENV PORT=3001 EXPOSE 3001