This commit is contained in:
TheMaddax 2024-11-23 18:03:33 -06:00
parent 4715b3b6a0
commit 1f26297bc8

View file

@ -4,7 +4,10 @@ ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV} ENV NODE_ENV=${NODE_ENV}
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
# Install dependencies including TypeScript
RUN npm install RUN npm install
# Install TypeScript globally
RUN npm install -g typescript
COPY . . COPY . .
RUN npm run build RUN npm run build