Skip to content

Commit

Permalink
chore: remove js clients from service repo
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed May 17, 2024
1 parent b398c43 commit efdb62b
Show file tree
Hide file tree
Showing 46 changed files with 276 additions and 6,239 deletions.
1 change: 1 addition & 0 deletions .env.docker
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Application
NODE_ENV=production
SENTRY_DNS=
PORT=5173

# Database
DB_HOST=mongo:27017
Expand Down
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM node:20.12-alpine AS BUILDER

ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache g++ make py3-pip pkgconfig pixman-dev cairo-dev pango-dev && ln -sf python3 /usr/bin/python

COPY . .

RUN npm ci
Expand All @@ -12,17 +15,13 @@ FROM node:20.12-alpine
COPY --from=BUILDER ./node_modules ./node_modules
COPY --from=BUILDER ./package.json ./package.json
COPY --from=BUILDER ./package-lock.json ./package-lock.json
# Client Files
COPY --from=BUILDER ./clients ./clients
# Sites Files
COPY --from=BUILDER ./sites ./sites
# Service Files
COPY --from=BUILDER ./services/liquid-auth-api-js/ ./services/liquid-auth-api-js/


RUN npm ci --production

# Expose the port on which the app will run
EXPOSE 3000
EXPOSE 5173

CMD ["npm", "run", "start"]
59 changes: 0 additions & 59 deletions clients/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions clients/liquid-auth-client-js/.eslintrc.json

This file was deleted.

133 changes: 0 additions & 133 deletions clients/liquid-auth-client-js/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions clients/liquid-auth-client-js/.prettierrc

This file was deleted.

69 changes: 0 additions & 69 deletions clients/liquid-auth-client-js/package.json

This file was deleted.

1 change: 0 additions & 1 deletion clients/liquid-auth-client-js/public/favicon.svg

This file was deleted.

Loading

0 comments on commit efdb62b

Please sign in to comment.