mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 01:40:29 +01:00
Have better docker caching (#63)
This commit is contained in:
parent
c84c4de38f
commit
3f1799195d
@ -4,11 +4,14 @@ RUN apk add --no-cache tini
|
||||
|
||||
WORKDIR /RTL
|
||||
|
||||
COPY . /RTL
|
||||
COPY package.json /RTL/package.json
|
||||
COPY package-lock.json /RTL/package-lock.json
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
COPY . /RTL
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
ENTRYPOINT ["/sbin/tini", "-g", "--"]
|
||||
|
@ -11,9 +11,14 @@ WORKDIR /RTL
|
||||
|
||||
COPY . /RTL
|
||||
|
||||
COPY package.json /RTL/package.json
|
||||
COPY package-lock.json /RTL/package-lock.json
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
COPY . /RTL
|
||||
|
||||
FROM arm32v7/node:10-jessie-slim
|
||||
|
||||
WORKDIR /RTL
|
||||
|
Loading…
Reference in New Issue
Block a user