fix: removed ./start.sh script

This commit is contained in:
RohitR311
2024-11-03 15:32:33 +05:30
parent 1a38e7f0e3
commit 8d8216e1f2

View File

@@ -10,7 +10,7 @@ COPY src ./src
COPY server ./server
COPY tsconfig.json ./
COPY server/tsconfig.json ./server/
COPY server/start.sh ./
# COPY server/start.sh ./
# Install dependencies
RUN npm install
@@ -74,10 +74,10 @@ RUN apt-get update && apt-get install -y \
# RUN mkdir -p /var/run/dbus
# Make the script executable
RUN chmod +x ./start.sh
# RUN chmod +x ./start.sh
# Expose the backend port
EXPOSE 8080
# Start the backend using the start script
CMD ["./start.sh"]
CMD ["npm", "run", "server"]