solving dependencies problem

This commit is contained in:
2023-03-11 16:55:04 -03:00
parent 5da9d4cf82
commit ff9573cd84

View File

@@ -5,7 +5,7 @@ RUN apt install -y curl
RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash - &&\
apt-get install -y nodejs
RUN npm install --global yarn
RUN npm install --global yarn typescript
COPY [".", "/usr/src"]
WORKDIR "/usr/src"
@@ -14,4 +14,4 @@ RUN yarn
ARG NODE_ENV
CMD if [ "$NODE_ENV" = "development" ] ; then yarn dev ; else yarn start ; fi
CMD if [ "$NODE_ENV" = "development" ] ; then yarn dev ; else yarn start ; fi