Copy folder seasoned_api not just contents, matches project structure

This commit is contained in:
2022-08-17 00:26:26 +02:00
parent b56b1f6c0c
commit 9164b592bd
5 changed files with 11 additions and 30 deletions

View File

@@ -1,16 +1,16 @@
FROM node:18
RUN mkdir -p /opt/seasonedShows
RUN mkdir -p /opt/seasonedShows/seasoned_api
WORKDIR /opt/seasonedShows
COPY seasoned_api/ .
COPY seasoned_api/ seasoned_api
COPY package.json .
RUN apt update
RUN apt install node-pre-gyp -y
RUN yarn
RUN cp conf/development.json.example conf/development.json
RUN cp seasoned_api/conf/development.json.example seasoned_api/conf/development.json
EXPOSE 31459