Use compiled files from ci instead of Dockerfile

This commit is contained in:
2022-11-02 22:01:03 +01:00
parent 4311a4c841
commit d713786685

View File

@@ -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