-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f64700e
commit 5df1581
Showing
2 changed files
with
7 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
FROM node:14 | ||
FROM node:16 | ||
|
||
RUN apt-get update && apt-get install -yq git python build-essential | ||
|
||
# create app directory | ||
RUN mkdir /app | ||
WORKDIR /app | ||
|
||
# Install app dependencies | ||
COPY package.json /app | ||
COPY package-lock.json /app | ||
|
||
# install dependencies | ||
RUN npm install | ||
|
||
# Bundle app source | ||
COPY . /app | ||
|
||
RUN chmod +x ./npm-ci-publish-beta-only.sh | ||
RUN chmod +x ./npm-ci-publish.sh | ||
|
||
# set to production | ||
RUN export NODE_ENV=production | ||
|
||
# build | ||
RUN npm run build | ||
# install dependencies | ||
RUN npm install | ||
|
||
RUN chmod +x ./npm-ci-publish-beta-only.sh | ||
RUN chmod +x ./npm-ci-publish.sh | ||
|
||
CMD ["npm", "run", "test"] | ||
CMD ["npm", "run", "test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
{ | ||
"useWorkspaces": true, | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"version": "3.3.4" | ||
} |