Kopie van https://gitlab.com/studieverenigingvia/ict/centurion met een paar aanpassingen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
centurion/backend/Dockerfile

13 lines
324 B

FROM node:16-alpine
WORKDIR /app
# Install TS manually since it's only included in the parent's package.json
RUN npm install --global typescript@^4.5.2
COPY package.json package-lock.json ./
RUN npm ci --no-progress --no-optional
COPY tsconfig.json ./
COPY src src/
RUN npm run build
CMD ["npm", "run", "start-compiled"]