Trying to run Serverless in a Docker container

I’m trying to containerize so that I don’t have to mess around with different versions of Node (among other thing) for different projects. The title says it all, is it possible to run Serverless in a Docker container?

I created a Dockerfile:

FROM node:8-alpine

RUN apk update

RUN npm install -g serverless && \
    npm install -g serverless-offline && \
    npm install -g yarn

WORKDIR /usr/src/app

COPY package*.json ./

RUN yarn

COPY . .

EXPOSE 3000

CMD [ "sls", "offline" ]

Build it: docker build -t serverless/docker .
Run it: docker run -p 49160:3000 serverless/docker

Response: curl: (56) Recv failure: Connection reset by peer

Any help or links are greatly appreciated!