test-project

This commit is contained in:
tusuii
2026-03-09 22:50:46 +05:30
parent 24dbab7cce
commit 86a1f0b15c
20 changed files with 1192 additions and 3 deletions

View File

@@ -16,8 +16,11 @@ COPY . .
# Build the React.js application
RUN npm run build
# Install serve globally so startup is instant (no npx download delay)
RUN npm install -g serve
# Expose the port that the application listens on
EXPOSE 3001
EXPOSE 3000
# Start a simple web server to serve the built React.js files
CMD [ "npx", "serve", "-s", "build" ]
CMD [ "serve", "-s", "build" ]