Pārlūkot izejas kodu

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 6 dienas atpakaļ
vecāks
revīzija
472f6a8bee
1 mainītis faili ar 4 papildinājumiem un 7 dzēšanām
  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"]