Files
xtreamium/frontend/Dockerfile
Fergal Moran f2cde38a0f Initial commit
2022-04-05 11:50:25 +01:00

19 lines
303 B
Docker

# pull official base image
FROM node:14-alpine
# set working directory
WORKDIR /app
# add `/app/node_modules/.bin` to $PATH
ENV PATH /app/node_modules/.bin:$PATH
# install app dependencies
COPY package.json ./
COPY yarn.lock ./
RUN yarn install
# add app
COPY . ./
# start app
CMD ["yarn", "start"]