clean-architecture/Dockerfile
Joao P Dubas 189a7a95a9
All checks were successful
continuous-integration/drone/push Build is passing
chore: upgrade runtime and dependencies (#52)
Upgrade runtimes:

* `node` from 21.7.3 to 22.6.0
* `yarn` from 4.1.0 to 4.4.0

Upgrade dependencies:

* `@types/node` from 20.6.3 to 22.4.0
* `typescript` from 5.2.2 to 5.5.4

Add [`outdated`](https://github.com/mskelton/yarn-plugin-outdated) plugin.

Reviewed-on: #52
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-08-18 21:57:43 +00:00

19 lines
251 B
Docker

FROM node:22.6.0-slim
WORKDIR /opt/app
RUN apt-get update \
&& apt-get -y install make \
&& yarn set version 4.4.0
COPY ./Makefile ./
COPY ./package.json ./
COPY ./yarn.lock ./
RUN make install
COPY . .
ENTRYPOINT ["sleep"]
CMD ["infinity"]