forked from VapiAI/example-server-javascript-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (18 loc) · 652 Bytes
/
Dockerfile
File metadata and controls
24 lines (18 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file is generated by Nx.
#
# Build the docker image with `npx nx docker-build vapiai`.
# Tip: Modify "docker-build" options in project.json to change docker build args.
#
# Run the container with `docker run -p 3000:3000 -t vapiai`.
FROM docker.io/node:lts-alpine
ENV HOST=0.0.0.0
ENV PORT=3000
WORKDIR /app
RUN addgroup --system vapiai && \
adduser --system -G vapiai vapiai
COPY dist/vapiai vapiai
RUN chown -R vapiai:vapiai .
# You can remove this install step if you build with `--bundle` option.
# The bundled output will include external dependencies.
RUN npm --prefix vapiai --omit=dev -f install
CMD [ "node", "vapiai" ]