Skip to content

Instantly share code, notes, and snippets.

@arthurariza
Created August 31, 2022 12:35
Show Gist options
  • Save arthurariza/1277d41d2ffe4d2b55e44138e6257b9c to your computer and use it in GitHub Desktop.
Save arthurariza/1277d41d2ffe4d2b55e44138e6257b9c to your computer and use it in GitHub Desktop.
Ember Dockerfile
FROM node:14.19-alpine
WORKDIR /app
# Install Ember
RUN yarn global add ember-cli
# Copy the minimum files for yarn install to work
COPY package.json ./
COPY yarn.lock ./
COPY .npmrc ./
# Install deps
RUN \
yarn config set "strict-ssl" false && \
yarn install
# Copy everything else
COPY ./ .
ENTRYPOINT ["yarn", "run", "ember"]
@arthurariza
Copy link
Author

.dockerignore

.DS_Store
.git
dist
node_modules
tmp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment