22 lines
418 B
Docker
22 lines
418 B
Docker
FROM node:18
|
|
|
|
RUN mkdir -p /opt/seasonedShows/src
|
|
|
|
WORKDIR /opt/seasonedShows
|
|
|
|
COPY src/ src
|
|
COPY configurations/ configurations
|
|
COPY package.json .
|
|
COPY yarn.lock .
|
|
|
|
RUN apt update
|
|
RUN apt install node-pre-gyp -y
|
|
RUN yarn
|
|
RUN cp configurations/development.json.example configurations/development.json
|
|
|
|
EXPOSE 31459
|
|
|
|
CMD ["yarn", "start"]
|
|
|
|
LABEL org.opencontainers.image.source https://github.com/kevinmidboe/seasoned
|