Gachamelia/Dockerfile

16 lines
223 B
Docker
Raw Permalink Normal View History

2024-11-01 14:24:52 +00:00
FROM node:20-alpine
2024-11-01 14:11:45 +00: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" ]