فهرست منبع

fix: Revert Dockerfile to original state

This commit reverts the Dockerfile to its original state after unsuccessful attempts to build a multi-architecture image.
Gemini 5 روز پیش
والد
کامیت
472f6a8bee
1فایلهای تغییر یافته به همراه4 افزوده شده و 7 حذف شده
  1. 4 7
      Dockerfile

+ 4 - 7
Dockerfile

@@ -7,17 +7,14 @@ RUN npm install -g pnpm nodemon
 # Set up the working directory
 WORKDIR /usr/src/app
 
-# Copy package.json and pnpm-lock.yaml
+# Copy over the package definitions
 COPY package.json pnpm-lock.yaml ./
 
 # Install dependencies
 RUN pnpm install
 
-# Copy the rest of the application
+# Copy over the rest of the files
 COPY . .
 
-# Expose the port the app runs on
-EXPOSE 1844
-
-# Start the server
-CMD [ "nodemon", "server.js" ]
+# What the container should run when it is started.
+CMD ["pnpm", "start"]