forked from metriport/metriport
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
20 lines (19 loc) · 892 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#########################################
### Base Image ##
#########################################
FROM node:18 AS build
WORKDIR /app
COPY . /app
RUN npm install --only=production --no-fund --no-optional --no-audit
#########################################
### Prod Image ##
#########################################
FROM node:18-slim
# TODO: #1810 remove below comment if not needed after some time - this should no longer be needed after cleaning up unused fhir converter code
# RUN apt-get update && apt install libcurl4-gnutls-dev -y && apt autoremove -y
COPY --from=build /app /app
WORKDIR /app
# TODO: #1810 remove below comment if not needed after some time - this should no longer be needed after cleaning up unused fhir converter code
# RUN ["chmod", "+x", "/app/deploy/webapp.sh"]
EXPOSE 8080
ENTRYPOINT /app/docker-entrypoint.sh