Files
looking-monorepo/.devcontainer/Dockerfile

34 lines
704 B
Docker

FROM node:18-bullseye
# Install additional tools including Ionic CLI
RUN apt-get update && apt-get install -y \
git \
curl \
vim \
mongodb-clients \
&& rm -rf /var/lib/apt/lists/*
# Install global npm packages for development
RUN npm install -g \
@ionic/cli \
@angular/cli \
nodemon \
concurrently \
eslint \
prettier
# Set working directory
WORKDIR /workspaces/PfosiLooking
# Copy package files for dependency caching
COPY package*.json ./
COPY app/package*.json ./app/
COPY backend/package*.json ./backend/
# Install dependencies
RUN npm install
RUN cd app && npm install
RUN cd backend && npm install
# Keep container running
CMD ["sleep", "infinity"]