This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/ipfs-api/Dockerfile

20 lines
313 B
Docker

FROM node:16.14.0-alpine
WORKDIR /usr/app
# copy package configuration and install node modules
COPY package.json yarn.lock ./
RUN yarn --frozen-lockfile
# copy over source files
COPY src src
COPY tsconfig.json ./
# build application
ENV NODE_ENV production
RUN yarn build
EXPOSE 3100
CMD ["yarn", "start"]