OTM/Dockerfile
soraefir 9f6c3d2c21
Some checks failed
continuous-integration/drone/push Build is failing
Update dockerfile
2025-02-22 15:33:38 +01:00

15 lines
375 B
Docker

FROM node:lts-alpine
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
RUN yarn
# If you are building your code for production
# RUN npm ci --only=production
# Bundle app source
COPY . .
EXPOSE 8080
CMD [ "yarn", "demon" ]