Skip to content

Commit 1f440c6

Browse files
committed
fix some bugs and pushed 1.4.6
1 parent aea05f4 commit 1f440c6

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

services/_api_service_template/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ WORKDIR /qutex
1212
COPY services/_api_service_template/src .
1313

1414
# Copy service-specific files
15-
COPY services/${SERVICE_PREFIX}/* ./
15+
COPY services/${SERVICE_PREFIX}/api ./api
16+
COPY services/${SERVICE_PREFIX}/documents ./documents
17+
COPY services/${SERVICE_PREFIX}/*.py ./
1618

1719
ENV SERVICE_PREFIX=${SERVICE_PREFIX}
1820
ENTRYPOINT ["flask", "run", "--host=0.0.0.0", "--port=4000"]

services/bot/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16.10.0-alpine3.13
1+
FROM node:16.10.0-alpine3.13 as build
22

33
# Set the working directory
44
WORKDIR /app

services/bot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"moment": "^2.29.1",
7676
"mongoose": "^5.13.0",
7777
"string-similarity": "^4.0.4",
78-
"webex": "1.144.0",
78+
"webex": "1.142.0",
7979
"winston": "^3.3.3"
8080
}
8181
}

services/ui/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16.10.0-alpine3.13
1+
FROM node:16.10.0-alpine3.13 as build
22
LABEL maintainer="Ava Thorn" email="avatheavian@gmail.com"
33
ARG DEVELOPMENT
44
ENV DEVELOPMENT=${DEVELOPMENT}
@@ -31,7 +31,7 @@ COPY jsconfig.json jsconfig.json
3131
###########################
3232

3333
COPY install.sh /install.sh
34-
RUN /install.sh
34+
RUN /install.sh && rm -f /install.sh
3535

3636
#########
3737
# CLEAN #
@@ -49,6 +49,13 @@ RUN if [ "${DEVELOPMENT}" != "true" ]; then rm -rf package-lock.json package.jso
4949
# ENTRYPOINT #
5050
##############
5151

52+
53+
# Squash
54+
# FROM scratch
55+
# WORKDIR /qutex
56+
# COPY --from=build . .
57+
# COPY --from=build /usr/local/lib/node_modules /usr/local/lib/node_modules
58+
5259
COPY docker-entrypoint.sh /docker-entrypoint.sh
5360
ENTRYPOINT ["/docker-entrypoint.sh"]
5461
HEALTHCHECK --interval=30s --start-period=5s --timeout=10s --retries=3 CMD wget --spider http://localhost:3000/ 2>/dev/null

0 commit comments

Comments
 (0)