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
COPY src/ src
COPY tsconfig.json .
COPY package.json .
COPY yarn.lock .
# COPY src/ src
# COPY tsconfig.json .
# COPY package.json .
# COPY yarn.lock .
RUN yarn
RUN yarn build
COPY lib/ lib
COPY node_modules/ node_modules
# RUN yarn
# RUN yarn build
EXPOSE 3000