added deployment

This commit is contained in:
evanpelle
2024-08-13 20:07:20 -07:00
parent efd5f65787
commit 001722bd59
11 changed files with 90 additions and 70 deletions
+2 -2
View File
@@ -13,11 +13,11 @@ RUN npm install
# Copy the rest of the application code
COPY . .
# Build the application
# Build the client-side application
RUN npm run build-prod
# Expose the port the app runs on
EXPOSE 3000
# Define the command to run the app
CMD [ "node", "dist/server/server.js" ]
CMD ["npm", "run", "start:server"]