1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 21:10:05 +00:00

chore: docker server certificates for development

This commit is contained in:
Saad Jutt
2021-11-15 13:00:06 +05:00
parent ca49aad153
commit 9ee7951816
4 changed files with 7 additions and 3 deletions

9
DockerfileApi Normal file
View File

@@ -0,0 +1,9 @@
FROM node:lts-alpine
WORKDIR /usr/server/api
COPY ["package.json","package-lock.json", "./"]
RUN npm ci
COPY ./api .
COPY ./certificates ../certificates
# RUN chown -R node /usr/server/api
# USER node
CMD ["npm","start"]