mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-17 03:39:21 +00:00
added deployment
This commit is contained in:
+2
-2
@@ -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"]
|
||||
Reference in New Issue
Block a user