Skip to content

Instantly share code, notes, and snippets.

@joseabraham
Last active February 21, 2023 18:21
Show Gist options
  • Save joseabraham/1ea632912805c330bf72002c015a83d7 to your computer and use it in GitHub Desktop.
Save joseabraham/1ea632912805c330bf72002c015a83d7 to your computer and use it in GitHub Desktop.

Revisions

  1. joseabraham renamed this gist Feb 21, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. joseabraham revised this gist Feb 21, 2023. No changes.
  3. joseabraham renamed this gist Feb 21, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. joseabraham created this gist Feb 21, 2023.
    23 changes: 23 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    FROM node:alpine

    # Create app directory
    WORKDIR /usr/src/app

    # ENV LANG es_ES.UTF-8
    # ENV LC_ALL es_ES.UTF-8
    # ENV LANGUAGE es_ES.UTF-8
    # ENV TZ America/Bogota
    RUN apk add git
    RUN apk add chromium
    COPY package*.json ./
    RUN yarn

    # Bundle app source
    COPY . .
    RUN yarn run build

    # Create app directory
    WORKDIR /usr/src/app

    EXPOSE 3300
    CMD [ "yarn", "run","start" ]