File tree 2 files changed +20
-10
lines changed
2 files changed +20
-10
lines changed Original file line number Diff line number Diff line change 1
- .git
2
- .github
3
-
4
- ** /node_modules /*
5
- .circleci
6
- .github
7
1
design
8
2
devops
9
3
docs
10
4
fixtures
11
5
hooks
12
6
postgres-data
13
7
14
- * .md
8
+ ** /.circleci
9
+ ** /* .log
10
+ ** /* .md
11
+ ** /._ *
12
+ ** /.dockerignore
13
+ ** /.DS_Store
14
+ ** /.git /
15
+ ** /.gitattributes
16
+ ** /.gitignore
17
+ ** /.gitmodules
18
+ ** /.github
19
+ ** /Dockerfile *
20
+ ** /Thumbs.db
21
+ .env *
22
+ build /
23
+ ** /node_modules /
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ FROM node:8.12-alpine AS node
3
3
4
4
WORKDIR /code
5
5
6
- ENV NODE_PATH /code/src
7
- COPY ./frontend /code/
8
- RUN yarn && yarn build
6
+ COPY ./frontend/package.json ./frontend/yarn.lock /code/
7
+ RUN yarn install --pure-lockfile
9
8
9
+ COPY ./frontend/ /code/
10
+ RUN yarn build
10
11
11
12
# Second stage: build base backend
12
13
FROM python:3.7-alpine AS backend
You can’t perform that action at this time.
0 commit comments