Created
August 31, 2022 12:35
-
-
Save arthurariza/1277d41d2ffe4d2b55e44138e6257b9c to your computer and use it in GitHub Desktop.
Ember Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.dockerignore
.DS_Store
.git
dist
node_modules
tmp