Merge pull request #247 from getmaxun/docker-arm

feat: support arm64 for docker backend
This commit is contained in:
Karishma Shukla
2024-12-11 14:09:14 +05:30
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ COPY vite.config.js ./
COPY tsconfig.json ./ COPY tsconfig.json ./
# Expose the frontend port # Expose the frontend port
EXPOSE 5173 EXPOSE ${FRONTEND_PORT:-5173}
# Start the frontend using the client script # Start the frontend using the client script
CMD ["npm", "run", "client", "--", "--host"] CMD ["npm", "run", "client", "--", "--host"]

View File

@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/playwright:v1.40.0-jammy FROM node:22-slim
# Set working directory # Set working directory
WORKDIR /app WORKDIR /app
@@ -50,7 +50,7 @@ RUN apt-get update && apt-get install -y \
# RUN chmod +x ./start.sh # RUN chmod +x ./start.sh
# Expose the backend port # Expose the backend port
EXPOSE 8080 EXPOSE ${BACKEND_PORT:-8080}
# Start the backend using the start script # Start the backend using the start script
CMD ["npm", "run", "server"] CMD ["npm", "run", "server"]