Simple way to build clouds from nothing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
386 B

# build static files
FROM node:carbon-alpine as build-nubium-cloud
WORKDIR /app
COPY package*.json ./
RUN npm install
# final image
FROM node:carbon-alpine
## install bash
#RUN apk add bash docker
WORKDIR /app
RUN mkdir -p /data/nubium-artifex
# pkg not working in docker
COPY --from=build-nubium-cloud /app/ .
COPY . .
ENV PORT 3009
EXPOSE 3009
ENTRYPOINT ["node", "index.js"]