Gachamelia/Dockerfile
Melaine Gérard 0bf7010ca0
Some checks failed
Build and Push Docker Image / build (push) Failing after 43s
Fix dockerfile
2024-11-01 15:24:52 +01:00

16 lines
223 B
Docker

FROM node:20-alpine
# 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" ]