Merge pull request #247 from getmaxun/docker-arm
feat: support arm64 for docker backend
This commit is contained in:
@@ -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"]
|
||||||
@@ -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"]
|
||||||
Reference in New Issue
Block a user