Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,17 @@ FROM node:20-alpine
# Create working directory
WORKDIR /opt/app

# RUN apk add --no-cache cmake make g++ python3 openssl-dev py3-setuptools

# Optional: clean old node_modules if re-building
RUN rm -rf node_modules package-lock.json

# Copy and install dependencies
COPY package.json .
COPY package-lock.json .
COPY babel.config.js .
# COPY tsconfig.json .
COPY tsconfig.json .
COPY .env .
# COPY src ./src
COPY dist ./dist
RUN npm install
COPY src ./src
RUN npm install --include=dev

# Build project
# RUN npm run build
RUN npm run build

# Expose application port
EXPOSE 3000
Expand Down
17 changes: 0 additions & 17 deletions build.sh

This file was deleted.