fix Dockerfile
This commit is contained in:
parent
7ca7c5b7e3
commit
63abf82d0a
1 changed files with 3 additions and 7 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -18,16 +18,9 @@ WORKDIR /usr/src/huellas
|
||||||
# This is an empty build to get the dependencies cached.
|
# This is an empty build to get the dependencies cached.
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
# Install typescript dependencies
|
|
||||||
WORKDIR /usr/src/huellas/ts-client/
|
|
||||||
RUN npm install
|
|
||||||
|
|
||||||
# Install Typescript
|
# Install Typescript
|
||||||
RUN npm install -g typescript
|
RUN npm install -g typescript
|
||||||
|
|
||||||
# Set the working directory
|
|
||||||
WORKDIR /usr/src/huellas
|
|
||||||
|
|
||||||
# Now copy in the rest of the sources
|
# Now copy in the rest of the sources
|
||||||
COPY src /usr/src/huellas/src/
|
COPY src /usr/src/huellas/src/
|
||||||
COPY migrations /usr/src/huellas/migrations/
|
COPY migrations /usr/src/huellas/migrations/
|
||||||
|
|
@ -46,6 +39,9 @@ COPY ts-client /usr/src/huellas/ts-client/
|
||||||
# Set the working directory
|
# Set the working directory
|
||||||
WORKDIR /usr/src/huellas/ts-client/
|
WORKDIR /usr/src/huellas/ts-client/
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
# Transpile
|
# Transpile
|
||||||
RUN tsc
|
RUN tsc
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue