juntekim.com/juntekim_frontend/deployment/Dockerfile
2025-12-07 10:04:01 +00:00

17 lines
268 B
Docker

# Base image
FROM mcr.microsoft.com/devcontainers/typescript-node
# Set working directory
WORKDIR /app
# Copy ONLY the frontend project
COPY ../ .
# Install dependencies and build
RUN npm install && npm run build
# Expose
EXPOSE 3000
# Start
CMD ["npm", "start"]