Skip to content

Commit

Permalink
e2e test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jasny committed Apr 23, 2023
1 parent 8755f40 commit f001abd
Show file tree
Hide file tree
Showing 12 changed files with 419 additions and 712 deletions.
1 change: 0 additions & 1 deletion .Dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
dist/
node_modules/
frontend/node_modules/
test/
Dockerfile
README.md
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js

node_js:
- 16
- 18

sudo: false

Expand All @@ -11,4 +11,3 @@ branches:

script:
npm run test:all

5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN npm i
# Bundle app source
COPY . .

RUN echo $(git describe --tags) > ./version.txt
RUN npm version $(git describe --tags) --no-git-tag-version

RUN npm run build

Expand All @@ -23,11 +23,8 @@ FROM node:18-alpine
# Move the build files from build folder to app folder
WORKDIR /usr/app
COPY --from=build /usr/src/dist ./
COPY --from=build /usr/src/version.txt ./
COPY --from=build /usr/src/node_modules ./node_modules/

ADD package.json ./

RUN npm install -g pm2

EXPOSE 80
Expand Down
24 changes: 0 additions & 24 deletions docker-compose.yml

This file was deleted.

Binary file removed github_deploy_key.enc
Binary file not shown.
Loading

0 comments on commit f001abd

Please sign in to comment.