diff --git a/api-service/.dockerignore b/api-service/.dockerignore index b512c09d..b83f1fd0 100644 --- a/api-service/.dockerignore +++ b/api-service/.dockerignore @@ -1 +1,3 @@ -node_modules \ No newline at end of file +node_modules +api-service/postman-collection +postman-collection \ No newline at end of file diff --git a/api-service/Dockerfile b/api-service/Dockerfile index 2d0f168d..76e7174f 100644 --- a/api-service/Dockerfile +++ b/api-service/Dockerfile @@ -1,7 +1,8 @@ -FROM --platform=linux/amd64 node:20-alpine +FROM --platform=linux/amd64 node:23.4-alpine RUN mkdir -p /opt/api-service COPY ./api-service ./opt/api-service WORKDIR /opt/api-service +RUN rm -rf postman-collection RUN npm install COPY . . EXPOSE 3000