Commit d1c60255 authored by alain's avatar alain 🐙
Browse files

a working docker image...

parent ed8bc177
FROM node:14.5
WORKDIR /usr/src/app
COPY . .
WORKDIR /usr/src
RUN git clone
# frontend
RUN yarn global add gatsby-cli
RUN cd backend
RUN strapi start
WORKDIR /usr/src/public-stack-site/frontend
RUN yarn install
# backend
WORKDIR /usr/src/public-stack-site/backend
COPY backend/.tmp .tmp
RUN yarn install && yarn build
CMD ["yarn", "develop"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment