2024-11-01 15:24:52 +01:00
|
|
|
FROM node:20-alpine
|
2024-11-01 15:11:45 +01:00
|
|
|
|
|
|
|
# Create app directory
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
# Install app dependencies
|
|
|
|
COPY package.json /app
|
|
|
|
COPY package-lock.json /app
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
# Bundle app source
|
|
|
|
COPY . /app
|
|
|
|
|
|
|
|
CMD [ "npm", "run", "start:clean" ]
|