OTM/Dockerfile
sora aee79aac75
Some checks failed
continuous-integration/drone/push Build is failing
dev (#160)
Co-authored-by: sora-ext
Co-authored-by: soraefir
Reviewed-on: #160
2025-03-02 01:09:29 +01:00

16 lines
394 B
Docker

FROM node:current-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
RUN yarn build
# If you are building your code for production
# RUN npm ci --only=production
# Bundle app source
COPY . .
EXPOSE 8080
CMD [ "yarn", "demon" ]