Copy folder seasoned_api not just contents, matches project structure
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user