Use compiled files from ci instead of Dockerfile
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -5,13 +5,16 @@ RUN mkdir -p /opt/figlet-http/src
|
|||||||
|
|
||||||
WORKDIR /opt/figlet-http
|
WORKDIR /opt/figlet-http
|
||||||
|
|
||||||
COPY src/ src
|
# COPY src/ src
|
||||||
COPY tsconfig.json .
|
# COPY tsconfig.json .
|
||||||
COPY package.json .
|
# COPY package.json .
|
||||||
COPY yarn.lock .
|
# COPY yarn.lock .
|
||||||
|
|
||||||
RUN yarn
|
COPY lib/ lib
|
||||||
RUN yarn build
|
COPY node_modules/ node_modules
|
||||||
|
|
||||||
|
# RUN yarn
|
||||||
|
# RUN yarn build
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user