Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ahoy, Dockerfile on board #1

Open
ghost opened this issue May 29, 2021 · 0 comments
Open

Ahoy, Dockerfile on board #1

ghost opened this issue May 29, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@ghost
Copy link

ghost commented May 29, 2021

Hey,

I'll try the workbench tomorrow, since it's up in my container.

Dockerfile

FROM node:14.5.0 as build-deps

WORKDIR /usr/src/app
COPY ./rml-workbench-front-end-master ./

RUN ["yarn", "install"]
RUN ["yarn", "build"]

RUN yarn global add serve
WORKDIR /usr/src/app/build

CMD serve -p 80 -s . 

Command line

docker build . -t <username>/rml-workbench
docker run -p 80:80 -d <username>/rml-workbench

If it eases the deployment for anybody, glad to share 🐳

@LotuxPunk LotuxPunk added the documentation Improvements or additions to documentation label May 29, 2021
@LotuxPunk LotuxPunk pinned this issue May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant