tercul-frontend/Dockerfile.dev
Damir Mukimov de1f800477
Some checks failed
Lint / TypeScript Type Check (push) Failing after 5s
Build / Build Application (push) Failing after 6s
Docker Build / Build Docker Image (push) Failing after 11s
fix: update Dockerfile for development environment setup
2025-12-27 00:34:04 +01:00

22 lines
477 B
Docker

# Development Dockerfile for frontend
FROM node:iron-alpine3.22
# Enable Corepack for Yarn 4.x
RUN corepack enable
# Set working directory
WORKDIR /app
# Copy all source code first
COPY . .
# Remove any host PnP artifacts and install fresh in container
RUN rm -rf .pnp.* .yarn/cache .yarn/unplugged .yarn/install-state.gz node_modules && \
yarn install --immutable
# Expose the application port
EXPOSE 3000
# Command to run the development server
CMD ["yarn", "dev"]