File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ FROM node:20-alpine AS frontend
2
2
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
3
3
4
4
WORKDIR /home/node/app
5
- COPY ./ResearchAssistant/App /frontend/package*.json ./
5
+ COPY ./src /frontend/package*.json ./
6
6
USER node
7
7
RUN npm ci
8
- COPY --chown=node:node ./ResearchAssistant/App /frontend/ ./frontend
8
+ COPY --chown=node:node ./src /frontend/ ./frontend
9
9
# COPY --chown=node:node ./static/ ./static
10
10
WORKDIR /home/node/app/frontend
11
11
RUN npm run build
@@ -19,13 +19,13 @@ RUN apk add --no-cache --virtual .build-deps \
19
19
&& apk add --no-cache \
20
20
libpq
21
21
22
- COPY ./ResearchAssistant/App /requirements.txt /usr/src/app/
22
+ COPY ./src /requirements.txt /usr/src/app/
23
23
RUN pip install --upgrade pip setuptools wheel \
24
24
&& pip install --no-cache-dir -r /usr/src/app/requirements.txt \
25
25
&& pip install --no-cache-dir uwsgi \
26
26
&& rm -rf /root/.cache
27
27
28
- COPY ./ResearchAssistant/App / /usr/src/app/
28
+ COPY ./src / /usr/src/app/
29
29
COPY --from=frontend /home/node/app/static /usr/src/app/static/
30
30
WORKDIR /usr/src/app
31
31
EXPOSE 80
You can’t perform that action at this time.
0 commit comments