Strapi start with systemd?

Here is a Dockerfile that can be used

FROM node:14-alpine
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
WORKDIR /opt/
COPY ./package.json ./
COPY ./yarn.lock ./
ENV PATH /opt/node_modules/.bin:$PATH
RUN yarn config set network-timeout 600000 -g
RUN yarn install
WORKDIR /opt/app
COPY ./ .
RUN yarn build
EXPOSE 1337
CMD ["yarn", "start"]

Built the image

docker build -t my-strapi .

You can then use it like docker run -dp 1337:1337 my-strapi
-d means detached so run in the background and p is to give the port that we want to use. you can switch it to 80:1337 to map it to port 80 if you want this.