mirror of
https://github.com/FranP-code/shortly.git
synced 2025-10-13 00:43:28 +00:00
solving dependencies problem
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user